]> git.karo-electronics.de Git - linux-beck.git/commit
HID: wacom: switch battery to devres
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 13 Jul 2016 16:05:53 +0000 (18:05 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Aug 2016 11:39:13 +0000 (13:39 +0200)
commitb189da901536cf7e9c95c17dd159cfbaddcc0384
tree4903e4eed5a016a06fb1a7254a165d5b2e96f9b7
parentd17d1f171158cc0663b072d91265cc8a6b477c77
HID: wacom: switch battery to devres

Simplifying the error code paths.
We need to keep wacom_destroy_battery() around for now as the wireless
module and the remotes are using it to dynamically remove the battery
supply on disconnect.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c