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)
commit2546dacd3e0e48c40bbb99caf01455f1ade9bb24
tree6c62cd095516c8a28fb8aace135bb5bd019f2606
parent7fefeec5176861c2747b8dcd9656acf42c288ded
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