HID: wacom: don't manually release resources for the EKR
authorAaron Armstrong Skomra <skomra@gmail.com>
Mon, 6 Mar 2017 18:54:58 +0000 (10:54 -0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 13:44:37 +0000 (14:44 +0100)
commitb6b1f19b06b7d4dcc261a88d74c5fb0a53988b4e
treea12b2c112e6000616fa5805d67f96e1ff3958e36
parent49cc4c217c0dbb7d09c402472d1f85a81c093f9f
HID: wacom: don't manually release resources for the EKR

Commit 5b779fc introduces the manual release of resources in wacom_remove() as
an addition to the driver's use of devm.  The EKR resources can only be
released through wacom_remote_destroy_one() so we skip the manual release for
it.

Fixes: 5b779fc ("HID: wacom: release the resources before leaving despite devm")
Signed-off-by: Aaron Armstrong Skomra <skomra@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c