HID: wiimote: convert BATTERY to module
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 May 2013 21:12:53 +0000 (23:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 3 Jun 2013 09:07:01 +0000 (11:07 +0200)
commitdcf392313817efb4f318ebbf21f607dbdaf5ea56
treeedf299dd868642038d52714ddcd553b532f2511d
parent20cef813b4791ba55b2f3c4258414b6ded21e8ff
HID: wiimote: convert BATTERY to module

This introduces a new sub-device module for the BATTERY handlers. It
moves the whole power_supply battery handling over to wiimote-modules.

This doesn't change any semantics or ABI but only converts the battery
handling into a sub-device module.

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