diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-02-12 17:27:41 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-02-16 20:40:37 +0100 |
commit | c58ac3a88d1e8a44fed152e80bf525a66a5647e2 (patch) | |
tree | a62350ca600235e767894b2082656e07d82e4e2e /drivers/i2c | |
parent | 7e129783b02081a866a7264473bc784cdfe69265 (diff) | |
download | op-kernel-dev-c58ac3a88d1e8a44fed152e80bf525a66a5647e2.zip op-kernel-dev-c58ac3a88d1e8a44fed152e80bf525a66a5647e2.tar.gz |
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>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions