summaryrefslogtreecommitdiff
path: root/drivers/hid/wacom.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-07-13 19:05:55 +0300
committerJiri Kosina <jkosina@suse.cz>2016-08-05 14:39:14 +0300
commit84dfbd7f2a58c8c79ba7947159fc5f2c521348f6 (patch)
tree22560dce52aef34def9bba0d948c82dc21f6b195 /drivers/hid/wacom.h
parent3dad188e6a1c6a6213a21dee8b609ceab45d6258 (diff)
downloadlinux-84dfbd7f2a58c8c79ba7947159fc5f2c521348f6.tar.xz
HID: wacom: put the managed resources in a group
We currently have a complex clean_inputs() function while this can be handled all by devres. Set a group that we can destroy in wireless_work(). 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')
-rw-r--r--drivers/hid/wacom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom.h b/drivers/hid/wacom.h
index a968fbbbae77..6f5555fa1eab 100644
--- a/drivers/hid/wacom.h
+++ b/drivers/hid/wacom.h
@@ -131,6 +131,7 @@ struct wacom {
struct power_supply_desc ac_desc;
struct kobject *remote_dir;
struct attribute_group remote_group[5];
+ bool resources;
};
static inline void wacom_schedule_work(struct wacom_wac *wacom_wac,