diff options
author | Jason Gerecke <killertofu@gmail.com> | 2018-06-25 23:24:35 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-03 13:07:52 +0300 |
commit | 578325120ec122db98b3d57e833d16c1bdac6ec6 (patch) | |
tree | 90361f0498356e82d432cb9a141885a8b42ea366 /fs/nfs/blocklayout | |
parent | 29b9e14846f1ff201c4c1ba4fdb868dcdce6c760 (diff) | |
download | linux-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 'fs/nfs/blocklayout')
0 files changed, 0 insertions, 0 deletions