From: David Herrmann Date: Tue, 5 Jul 2011 11:45:19 +0000 (+0200) Subject: HID: wiimote: Add sysfs support to wiimote driver X-Git-Tag: v3.1-rc1~309^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1c2fce64fdfa2f0c0ff4fffb3bb171ea6361ca;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed