From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH] iio: doc: fix typo Date: Sun, 03 May 2015 20:14:02 +0100 Message-ID: <5546737A.9000407@kernel.org> References: <1430404582-13115-1-git-send-email-martink@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1430404582-13115-1-git-send-email-martink-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Martin Kepplinger , irina.tirdea-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org Cc: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org On 30/04/15 15:36, Martin Kepplinger wrote: > Since we have deviceX, we don't need accelX. This has no users as of now, so > correcting this is no problem. > > Signed-off-by: Martin Kepplinger The X is certainly misleading. The interface could have a number there, (if we have a device with multiple parallel accelerometers - unusual, but not unheard of) but it would be the channel index, not the device index and hence should be Y not X. Or as we don't have any of these anyway, just drop the X and leave it as an un-indexed accelerometer channel. Jonathan > --- > > That's really just a question now. If I'm wrong, sorry for the noise. > > Documentation/ABI/testing/sysfs-bus-iio | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index 3befcb1..efd1334 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -1119,7 +1119,7 @@ Description: > This attribute is used to read the amount of quadrature error > present in the device at a given time. > > -What: /sys/.../iio:deviceX/in_accelX_power_mode > +What: /sys/.../iio:deviceX/in_accel_power_mode > KernelVersion: 3.11 > Contact: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Description: > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbbECTOP (ORCPT ); Sun, 3 May 2015 15:14:15 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:40016 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbbECTOE (ORCPT ); Sun, 3 May 2015 15:14:04 -0400 Message-ID: <5546737A.9000407@kernel.org> Date: Sun, 03 May 2015 20:14:02 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Martin Kepplinger , irina.tirdea@intel.com CC: linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: doc: fix typo References: <1430404582-13115-1-git-send-email-martink@posteo.de> In-Reply-To: <1430404582-13115-1-git-send-email-martink@posteo.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 On 30/04/15 15:36, Martin Kepplinger wrote: > Since we have deviceX, we don't need accelX. This has no users as of now, so > correcting this is no problem. > > Signed-off-by: Martin Kepplinger The X is certainly misleading. The interface could have a number there, (if we have a device with multiple parallel accelerometers - unusual, but not unheard of) but it would be the channel index, not the device index and hence should be Y not X. Or as we don't have any of these anyway, just drop the X and leave it as an un-indexed accelerometer channel. Jonathan > --- > > That's really just a question now. If I'm wrong, sorry for the noise. > > Documentation/ABI/testing/sysfs-bus-iio | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index 3befcb1..efd1334 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -1119,7 +1119,7 @@ Description: > This attribute is used to read the amount of quadrature error > present in the device at a given time. > > -What: /sys/.../iio:deviceX/in_accelX_power_mode > +What: /sys/.../iio:deviceX/in_accel_power_mode > KernelVersion: 3.11 > Contact: linux-iio@vger.kernel.org > Description: >