summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv1/inc
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-03-29 07:57:48 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-29 08:00:17 +0200
commit56cfe6f820a6315291eb5a1b82bb49633b993d3b (patch)
tree90356e8568bd8a7294f3e5429c95fee3995f8e4a /arch/csky/abiv1/inc
parentInput: elants_i2c - fix division by zero if firmware reports zero phys size (diff)
downloadlinux-56cfe6f820a6315291eb5a1b82bb49633b993d3b.tar.xz
linux-56cfe6f820a6315291eb5a1b82bb49633b993d3b.zip
Input: elants_i2c - drop zero-checking of ABS_MT_TOUCH_MAJOR resolution
Drop unnecessary zero-checking of ABS_MT_TOUCH_MAJOR resolution since there is no difference between setting resolution to 0 vs not setting it at all. This change makes code cleaner a tad. Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20210328235507.19240-1-digetx@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/csky/abiv1/inc')
0 files changed, 0 insertions, 0 deletions