commit | c58ac3a88d1e8a44fed152e80bf525a66a5647e2 | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Fri Feb 12 17:27:41 2016 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Feb 16 20:40:37 2016 +0100 |
tree | a62350ca600235e767894b2082656e07d82e4e2e | |
parent | 7e129783b02081a866a7264473bc784cdfe69265 [diff] |
HID: wacom: break out parsing of device and registering of input Simplifies the .probe() and will allow to reuse this path in the future. Few things are reshuffled in .probe(): - init wacom struct earlier - then retrieve the report descriptor - then parse it and allocate/register inputs. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>