Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110AbbGSJyR (ORCPT ); Sun, 19 Jul 2015 05:54:17 -0400 Received: from smtp-out-068.synserver.de ([212.40.185.68]:1047 "EHLO smtp-out-068.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752500AbbGSJyP (ORCPT ); Sun, 19 Jul 2015 05:54:15 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: lars@metafoo.de X-SynServer-PPID: 21353 Message-ID: <55AB73C3.5020206@metafoo.de> Date: Sun, 19 Jul 2015 11:54:11 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Jonathan Cameron , Cristina Opriceana CC: knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.baluta@intel.com Subject: Re: [PATCH] iio: Fix iio_validate_scan_mask_oneshot function name typo References: <7d56ec6a8a6fdd76d8cc9abf4330c34061873920.1437229669.git.cristina.opriceana@gmail.com> <55AB72A3.7080105@kernel.org> In-Reply-To: <55AB72A3.7080105@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 888 Lines: 21 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. -- 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/