Re: [PATCH 25/25] iio: Update unit of the voltage scale in the documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/28/13 10:31, Lars-Peter Clausen wrote:
> The documentation says that the result of raw * scale should be in microvolts,
> but in reallity all drivers actually report the scale so that the result is in
> millivolts. So update the documentation to match reallity.
> 
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
I've no idea how we ended up with this being wrong, but it does indeed need fixing!

Anyhow, applied to the togreg branch of iio.git

Thanks for a nice focussed, easy to review series,

Jonathan
> ---
>  Documentation/ABI/testing/sysfs-bus-iio | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index ab1047c..2d736208 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -79,7 +79,7 @@ Description:
>  		correspond to externally available input one of the named
>  		versions may be used. The number must always be specified and
>  		unique to allow association with event codes. Units after
> -		application of scale and offset are microvolts.
> +		application of scale and offset are millivolts.
>  
>  What:		/sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw
>  KernelVersion:	2.6.35
> @@ -90,7 +90,7 @@ Description:
>  		physically equivalent inputs when non differential readings are
>  		separately available. In differential only parts, then all that
>  		is required is a consistent labeling.  Units after application
> -		of scale and offset are microvolts.
> +		of scale and offset are millivolts.
>  
>  What:		/sys/bus/iio/devices/iio:deviceX/in_capacitanceY_raw
>  KernelVersion:	3.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux