Skip to contentSkip to conversation

iio: Correct HID light sensor name in comments

PATCH Applied Alexandre Relange 2 participants 2 messages May 16, 2013 – May 22, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/iio/light/hid-sensor-als.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/light/hid-sensor-als.c +1 -1
index 80d68ff..cdc2cad 100644
@@ -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
maintainer Applied
#1 lore raw
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.

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
index 80d68ff..cdc2cad 100644
@@ -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