]> git.baikalelectronics.ru Git - kernel.git/commit
HID: thingm: remove the "play" sysfs attribute
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 14 Apr 2014 20:50:17 +0000 (16:50 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 15 Apr 2014 12:42:51 +0000 (14:42 +0200)
commit3efd87cb9045ec106a1f8137e13223ffd9e63ac4
tree1a360d23df440bb1c00dcbbe48af76243b8433e7
parent1184d8c1b586de1f516df877fd5e0ae75a9b631d
HID: thingm: remove the "play" sysfs attribute

When the thingm driver registers an instance of LED class, it creates a
"play" sysfs attribute for this blink(1) specific feature.

Since this feature is not specific to the RGB chip but to the HID device
itself, let's remove this attribute from the LED instance and only
implement what is useful to switch on and off the LED.

This feature is still easily accessible through hidraw.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/ABI/testing/sysfs-driver-hid-thingm
drivers/hid/hid-thingm.c