]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: split out input allocation and registration
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 23 Sep 2014 16:08:06 +0000 (12:08 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 1 Oct 2014 07:11:22 +0000 (09:11 +0200)
commit55eac277604805f9ec820b61c342f0098e308a96
tree6c62cd095516c8a28fb8aace135bb5bd019f2606
parentd557a576020409f70df65d78306a6b4b48303665
HID: wacom: split out input allocation and registration

If the input can be created earlier during probe, we can already populate
them while reading the report descriptor. This way, we can rely on the
hid subsystem directly for tablets which already provide a meaningful
report descriptor (like ISDv4-5).

This patch only splits the allocation and registration, but do not
change where we allocate the input. This will come in a later patch.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.h