Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751715AbbKNRV6 (ORCPT ); Sat, 14 Nov 2015 12:21:58 -0500 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:40864 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbbKNRVz (ORCPT ); Sat, 14 Nov 2015 12:21:55 -0500 Subject: Re: [PATCH] Staging: iio: iio_simple_dummy_buffer: Typo in comments area To: Lars-Peter Clausen , Nizam Haider References: <1447469041-5751-1-git-send-email-nizamhaider786@gmail.com> <5646FEC7.5050600@metafoo.de> Cc: knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Nizam Haider From: Jonathan Cameron Message-ID: <56476DAC.6030903@kernel.org> Date: Sat, 14 Nov 2015 17:21:48 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5646FEC7.5050600@metafoo.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1820 Lines: 48 On 14/11/15 09:28, Lars-Peter Clausen wrote: > On 11/14/2015 03:44 AM, Nizam Haider wrote: >> Fix simple typo in comments >> >> Signed-off-by: Nizam Haider > > Thanks for the patch. > >> --- >> drivers/staging/iio/iio_simple_dummy_buffer.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/staging/iio/iio_simple_dummy_buffer.c b/drivers/staging/iio/iio_simple_dummy_buffer.c >> index cf44a6f..c8f889b 100644 >> --- a/drivers/staging/iio/iio_simple_dummy_buffer.c >> +++ b/drivers/staging/iio/iio_simple_dummy_buffer.c >> @@ -64,7 +64,7 @@ static irqreturn_t iio_simple_dummy_trigger_h(int irq, void *p) >> * software scans: can be considered to be random access >> * so efficient reading is just a case of minimal bus >> * transactions. >> - * software culled hardware scans: >> + * software called hardware scans: > > I don't think that's a typo. The non-patched version makes a lot more sense > then the patched vesion. Yup, that's me using some 'more unusual' English terminology, Perhaps the word 'dropped' would be clearer. Also, that comment is now a little misleading as it is unusual / undesirable to now do this in an individual driver. The core demux code should take care of it. Hmm.. I'll make a note to reread the comments in that driver and see if any others could do with a refresh. Jonathan > >> * occasionally a driver may process the nearest hardware >> * scan to avoid storing elements that are not desired. This >> * is the fiddliest option by far. >> > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/