From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753977Ab2HPS4w (ORCPT ); Thu, 16 Aug 2012 14:56:52 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:34188 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751941Ab2HPS4v (ORCPT ); Thu, 16 Aug 2012 14:56:51 -0400 Message-ID: <502D4271.9080104@kernel.org> Date: Thu, 16 Aug 2012 19:56:49 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: "Kim, Milo" CC: Peter Meerwald , Lars-Peter Clausen , "jic23@cam.ac.uk" , "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" Subject: Re: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/16/2012 08:49 AM, Kim, Milo wrote: >>> int iio_read_channel_scale(struct iio_channel *chan, int *val, >>> int *val2); >>> >>> +/** >>> + * iio_read_channel_offset() - read offset from a given channel >>> + * @channel: The channel being queried. >> >> the parameter is 'chan', not 'channel' >> > > Oops, this is copy-and-paste disaster. > The description of iio_read_channel_scale() also needs correction. > Thanks for catching this ! good point. Feel free to send a separate patch fixing that ;) > > After getting other feedbacks, separate patch will be submitted. > > Best Regards, > Milo >