diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-06-10 09:42:58 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-06-11 11:17:44 -0700 |
commit | 8f275fc73dd6ff78c6041aa4c138410bf2c95ce6 (patch) | |
tree | af5e80cdde9db371bd0a820941605c8852ed5588 /tools/perf/scripts/python/gecko.py | |
parent | 6f7e4f81f738ac765318c54097a6235203073049 (diff) |
Input: adxl34x - use input_set_capability()
Switch to using input_set_capability() instead of using __set_bit() to
make clear what exactly kinds of events (EV_KEY, EV_REL) are being
declared.
Also drop redundant calls setting EV_ABS and ABS_X|Y|Z bits as that is
taken care by input_set_abs_params().
Link: https://lore.kernel.org/r/20240610164301.1048482-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions