]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wiimote: Simplify synchronization
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 17 Aug 2011 09:43:20 +0000 (11:43 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Aug 2011 08:54:59 +0000 (10:54 +0200)
commita776890af87d2aa5e62460b3efaa5ef9d2cdcc41
treeb195b32922243f9ee4cca6aa5551e5f3a1fc62aa
parent7335397d23f5c6079e4dd11d37583117f0cf3926
HID: wiimote: Simplify synchronization

The new locking scheme in HID core allows us to remove a bit of synchronization.
Since the HID layer acts synchronously we simply register input core last and
there are no synchonization issues anymore.
Also register sysfs files after that to simplify the code.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote.c