From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 12 May 2012 07:18:07 -0700 From: Greg Kroah-Hartman To: Lars-Peter Clausen Cc: Jonathan Cameron , devel@driverdev.osuosl.org, linux-iio@vger.kernel.org Subject: Re: [PATCH] iio: Remove unused iio_device_put() Message-ID: <20120512141807.GA30846@kroah.com> References: <1336741993-30310-1-git-send-email-lars@metafoo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1336741993-30310-1-git-send-email-lars@metafoo.de> List-ID: On Fri, May 11, 2012 at 03:13:13PM +0200, Lars-Peter Clausen wrote: > This function is currently unused and we do not have a matching iio_device_get() > function either, so just remove it. > > Signed-off-by: Lars-Peter Clausen > Acked-by: Jonathan Cameron No, I see a number of places it should be used. Don't do "raw" put_device() calls, every one of them could be making this call instead, right? thanks, greg k-h