summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2021-03-21 21:01:35 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-25 11:14:09 -0700
commit40c3efdc0b77d3f5298c9ce4fcb029da30f887e5 (patch)
treefcf71b5249f322422dfad9d8025cbceff3ab57e7 /lib
parent0cdd2e906cf321e9a736b94d22e6603f6f515ee8 (diff)
Input: iqs5xx - optimize axis definition and validation
Set the maximum ABS_MT_PRESSURE value and use the existing U16_MAX definition instead of a magic number to validate ABS_MT_POSITION_X and ABS_MT_POSITION_Y. Also use input_set_abs_params() rather than input_abs_set_max() to avoid having to call input_set_capability() separately. Signed-off-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/20210313191236.4366-3-jeff@labundy.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions