iio: Correct HID light sensor name in comments
Subsystems (2)
PATCH 1/1 iio: Correct HID light sensor name in comments
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 <[email protected]>
--- drivers/iio/light/hid-sensor-als.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/light/hid-sensor-als.c +1 -1
@@ -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
Signature · 1 line
1.8.2.2
Quoted 4 lines · Alexandre Relange
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 <[email protected]>
Applied to the togreg branch of iio.git
Thanks.
Quoted 18 lines
--- drivers/iio/light/hid-sensor-als.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/light/hid-sensor-als.c +1
-1@@ -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