lkml.org 
[lkml]   [2013]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] iio: Correct HID light sensor name in comments
On 05/16/2013 02:54 PM, Alexandre Relange wrote:
> The original driver was pasted from accelerometer driver, but the name
> of the ID was not changed. This patch fixes this comment.
>
> Signed-off-by: Alexandre Relange <alexandre@relange.org>
Applied to the togreg branch of iio.git
Thanks.
> ---
> drivers/iio/light/hid-sensor-als.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/light/hid-sensor-als.c b/drivers/iio/light/hid-sensor-als.c
> index 80d68ff..cdc2cad 100644
> --- a/drivers/iio/light/hid-sensor-als.c
> +++ b/drivers/iio/light/hid-sensor-als.c
> @@ -31,7 +31,7 @@
> #include "../common/hid-sensors/hid-sensor-trigger.h"
>
> /*Format: HID-SENSOR-usage_id_in_hex*/
> -/*Usage ID from spec for Accelerometer-3D: 0x200041*/
> +/*Usage ID from spec for Ambiant-Light: 0x200041*/
> #define DRIVER_NAME "HID-SENSOR-200041"
>
> #define CHANNEL_SCAN_INDEX_ILLUM 0
>


\
 
 \ /
  Last update: 2013-05-23 00:22    [W:0.028 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site