]> git.karo-electronics.de Git - linux-beck.git/commit
HID: gt683r: move mode attribute to led-class devices
authorJanne Kanniainen <janne.kanniainen@gmail.com>
Thu, 3 Jul 2014 17:17:09 +0000 (10:17 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 3 Jul 2014 18:14:11 +0000 (11:14 -0700)
commit6522fe1c39a79d4753e37d912876315720119f82
tree3e69fb69925e67b9c6629eee0a4880ff0ab3122f
parentc3883ae918c8754f7c251564d63211e1d5648b08
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>
Documentation/ABI/testing/sysfs-class-leds-gt683r [moved from Documentation/ABI/testing/sysfs-class-hid-driver-gt683r with 50% similarity]
drivers/hid/hid-gt683r.c