]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3989ef6cfb80825af2f7933415797f052817ac3e
treeb195b32922243f9ee4cca6aa5551e5f3a1fc62aa
parentf5fc87905ea075a0b14878086fd4fe38be128844
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