]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: EKR: have proper allocator and destructor
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 13 Jul 2016 16:06:04 +0000 (18:06 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 5 Aug 2016 11:39:17 +0000 (13:39 +0200)
commitc6a27e5ff019ba1cb44f84ab6c09793c9201c46d
treee7cdeb42bd843dbf20bee349ac6b509d0f83b3c7
parent8de5a240b9e1112760ab37f11461afca8f58367f
HID: wacom: EKR: have proper allocator and destructor

The wacom_remote_create_attr_group() and wacom_remote_destroy_attr_group()
functions were both allocating/destroying the sysfs groups but also
initializing the parameters for the remotes. Have proper functions
that can be called and extended.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c