diff options
author | Jason Gerecke <killertofu@gmail.com> | 2018-06-25 13:24:35 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-03 12:07:52 +0200 |
commit | 578325120ec122db98b3d57e833d16c1bdac6ec6 (patch) | |
tree | 90361f0498356e82d432cb9a141885a8b42ea366 /drivers/hid/hid-emsff.c | |
parent | HID: wacom: Replace touch_max fixup code with static touch_max definitions (diff) | |
download | linux-dev-578325120ec122db98b3d57e833d16c1bdac6ec6.tar.xz linux-dev-578325120ec122db98b3d57e833d16c1bdac6ec6.zip |
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 'drivers/hid/hid-emsff.c')
0 files changed, 0 insertions, 0 deletions