summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2018-06-25 23:24:35 +0300
committerJiri Kosina <jkosina@suse.cz>2018-07-03 13:07:52 +0300
commit578325120ec122db98b3d57e833d16c1bdac6ec6 (patch)
tree90361f0498356e82d432cb9a141885a8b42ea366 /usr
parent29b9e14846f1ff201c4c1ba4fdb868dcdce6c760 (diff)
downloadlinux-578325120ec122db98b3d57e833d16c1bdac6ec6.tar.xz
HID: wacom: Move handling of HID quirks into a dedicated function
We want to keep device-specific quirks as contained as possible so that the the code remains maintainable. Our 'wacom_setup_device_quirks' function is the usual place for this, but some quirks need to be applied to the HID descriptor as it is parsed. This commit introduces a new function which is called for each usage so that any HID-specific quirks can be applied. The function now houses quirks that were being done in 'wacom_feature_mapping' and 'wacom_usage_mapping'. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions