summaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-07-13 18:06:06 +0200
committerJiri Kosina <jkosina@suse.cz>2016-08-05 13:39:17 +0200
commite7749f6e5f9d33da189f7bc7d757349ad4716f00 (patch)
tree8719d4ab2a9b600cfa6468976991d908bf2c7315 /drivers/hid/wacom.h
parentf9036bd43602562f549ace170391c932f28446cd (diff)
downloadlinux-e7749f6e5f9d33da189f7bc7d757349ad4716f00.tar.bz2
HID: wacom: EKR: have one array of struct remotes instead of many arrays
No functional changes, just a prep patch for the one after. 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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hid/wacom.h b/drivers/hid/wacom.h
index 110ea6793b99..6b8df67b3653 100644
--- a/drivers/hid/wacom.h
+++ b/drivers/hid/wacom.h
@@ -120,8 +120,10 @@ struct wacom_remote {
spinlock_t remote_lock;
struct kfifo remote_fifo;
struct kobject *remote_dir;
- struct attribute_group remote_group[WACOM_MAX_REMOTES];
- __u32 serial[WACOM_MAX_REMOTES];
+ struct {
+ struct attribute_group group;
+ u32 serial;
+ } remotes[WACOM_MAX_REMOTES];
};
struct wacom {