summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorJanne Kanniainen <janne.kanniainen@gmail.com>2014-07-03 10:17:09 -0700
committerBryan Wu <cooloney@gmail.com>2014-07-03 11:14:11 -0700
commit6522fe1c39a79d4753e37d912876315720119f82 (patch)
tree3e69fb69925e67b9c6629eee0a4880ff0ab3122f /Documentation/ABI
parentc3883ae918c8754f7c251564d63211e1d5648b08 (diff)
downloadlinux-6522fe1c39a79d4753e37d912876315720119f82.tar.gz
linux-6522fe1c39a79d4753e37d912876315720119f82.tar.bz2
linux-6522fe1c39a79d4753e37d912876315720119f82.zip
HID: gt683r: move mode attribute to led-class devices
Move led_mode attribute from HID device to led-class devices and rename it mode. This will also fix race condition by using attribute-groups. (cooloney@gmai.com: fix a typo in commit message) Signed-off-by: Janne Kanniainen <janne.kanniainen@gmail.com> Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-leds-gt683r (renamed from Documentation/ABI/testing/sysfs-class-hid-driver-gt683r)6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-hid-driver-gt683r b/Documentation/ABI/testing/sysfs-class-leds-gt683r
index 317e9d5170f3..e4fae6026e79 100644
--- a/Documentation/ABI/testing/sysfs-class-hid-driver-gt683r
+++ b/Documentation/ABI/testing/sysfs-class-leds-gt683r
@@ -1,9 +1,11 @@
-What: /sys/class/hidraw/<hidraw>/device/leds_mode
+What: /sys/class/leds/<led>/gt683r/mode
Date: Jun 2014
KernelVersion: 3.17
Contact: Janne Kanniainen <janne.kanniainen@gmail.com>
Description:
- Set the mode of LEDs
+ Set the mode of LEDs. You should notice that changing the mode
+ of one LED will update the mode of its two sibling devices as
+ well.
0 - normal
1 - audio