diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-07-05 13:45:19 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 14:30:24 +0200 |
commit | 3c1c2fce64fdfa2f0c0ff4fffb3bb171ea6361ca (patch) | |
tree | 58ba2f4c42cf84fbe23e0d7661c7c232ecf5c8de /include/linux/hiddev.h | |
parent | 32a0d9a522b577d0efa6ce793a6ac0516c5e3627 (diff) |
HID: wiimote: Add sysfs support to wiimote driver
Add sysfs files for each led of the wiimote. Writing 1 to the file
enables the led and 0 disables the led.
We do not need memory barriers when checking wdata->ready since we use
a spinlock directly after it.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hiddev.h')
0 files changed, 0 insertions, 0 deletions