Re: [PATCH] iio: Correct HID light sensor name in comments

From: Jonathan Cameron
Date: Wed May 22 2013 - 17:08:49 EST


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@xxxxxxxxxxx>
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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/