diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-07-13 18:05:59 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-08-05 13:39:15 +0200 |
commit | 1c817c83e8ccea5f710d3c0d38edcfd362654ba2 (patch) | |
tree | 0637aba7e0f10bc40b961f1ecccf87940f450eee /drivers/hid/wacom.h | |
parent | 19b643300181ccf2bd83cd751283508b9ae179f5 (diff) | |
download | linux-1c817c83e8ccea5f710d3c0d38edcfd362654ba2.tar.bz2 |
HID: wacom: devres manage the shared data too
wacom_release_shared_data() and wacom_remove_shared_data() are moved up
so they can be referenced in wacom_add_shared_data().
There is no point in explicitly setting wacom_wac1->shared->type to 0 in
wacom_wireless_work() (plus this would give an oops).
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom.h')
0 files changed, 0 insertions, 0 deletions