Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753316AbbGUJPt (ORCPT ); Tue, 21 Jul 2015 05:15:49 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:32861 "EHLO mail-qg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbbGUJPr (ORCPT ); Tue, 21 Jul 2015 05:15:47 -0400 MIME-Version: 1.0 In-Reply-To: <55AB73C3.5020206@metafoo.de> References: <7d56ec6a8a6fdd76d8cc9abf4330c34061873920.1437229669.git.cristina.opriceana@gmail.com> <55AB72A3.7080105@kernel.org> <55AB73C3.5020206@metafoo.de> Date: Tue, 21 Jul 2015 12:15:46 +0300 Message-ID: Subject: Re: [PATCH] iio: Fix iio_validate_scan_mask_oneshot function name typo From: Cristina Georgiana Opriceana To: Lars-Peter Clausen Cc: Jonathan Cameron , Hartmut Knaack , Peter Meerwald , "linux-iio@vger.kernel.org" , linux-kernel@vger.kernel.org, Daniel Baluta Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 31 On Sun, Jul 19, 2015 at 12:54 PM, Lars-Peter Clausen wrote: > On 07/19/2015 11:49 AM, Jonathan Cameron wrote: >> >> On 18/07/15 15:31, Cristina Opriceana wrote: >>> >>> Rename function to iio_validate_scan_mask_oneshot() since it's used to >>> validate that only one channel is selected. >>> >>> Signed-off-by: Cristina Opriceana >> >> I'm sure Lars (who I think named it?) will come back with a fuller >> response, but >> I believe the naming (if not necessarily clear!) was deliberate. >> >> one hot - as in only one channel is enabled at a time. >> oneshot - only a single reading of all channels is taken >> (like a one shot interrupt). > > > Yes. See https://en.wikipedia.org/wiki/One-hot > > Thanks. Ah, I see. Thanks for the info! Cristina -- 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/