summaryrefslogtreecommitdiff
path: root/include/uapi/linux/input-event-codes.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-06 17:11:46 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-03-24 15:21:24 -0700
commitcc5117d6e4988e684f68ce5b5db312a3f0f943df (patch)
tree6a66010e2feafc01ee7767fe42be5f0b0cf22e34 /include/uapi/linux/input-event-codes.h
parentb9a1c116846e9ab9d4872d61604207cd5aef09b4 (diff)
Input: of_touchscreen - explicitly choose axis
The 'axis + 1' calculation is implicit and potentially error prone. Moreover, few lines before the axis is set explicitly for both X and Y. Do the same when retrieving different properties for X and Y. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200303180917.12563-1-andriy.shevchenko@linux.intel.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/uapi/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions