commit | 1c817c83e8ccea5f710d3c0d38edcfd362654ba2 | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Wed Jul 13 18:05:59 2016 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Aug 05 13:39:15 2016 +0200 |
tree | 0637aba7e0f10bc40b961f1ecccf87940f450eee | |
parent | 19b643300181ccf2bd83cd751283508b9ae179f5 [diff] |
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>