HID: wiimote: convert IR to module
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 May 2013 21:12:56 +0000 (23:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 3 Jun 2013 09:07:02 +0000 (11:07 +0200)
commit3b5f03c4e36c2756d3c10f93e4c829541bf1da28
treeac07fe20762aa73814b0bceaa0ec2a603d9922d4
parent0ea1675723021bc412bc9ea5d601e2b5660b5f8c
HID: wiimote: convert IR to module

IR is the last piece that still is handled natively. This patch converts
it into a sub-device module like all other sub-devices. It mainly moves
code and doesn't change semantics.

We also implicitly sync IR data on ir_to_input3 now so the explicit
input_sync() calls are no longer needed.

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