HID: wacom: rework fail path in probe() and parse_and_register()
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 13 Jul 2016 16:06:03 +0000 (18:06 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Aug 2016 11:39:16 +0000 (13:39 +0200)
commit3888b0d53dfbbc9ebc678a67b2ccebb053ba4aac
treed580f393ef81b40fa96182ce61e635b1336d307b
parent83e6b40e2de6f8416ce6c8c3ca6c4bc8acfa8b32
HID: wacom: rework fail path in probe() and parse_and_register()

Thanks to devres management, we don't need to remember a lot of failure
path. One or two is enough.

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