diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-03-06 17:11:46 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-03-24 15:21:24 -0700 |
commit | cc5117d6e4988e684f68ce5b5db312a3f0f943df (patch) | |
tree | 6a66010e2feafc01ee7767fe42be5f0b0cf22e34 /include/uapi/linux/input-event-codes.h | |
parent | b9a1c116846e9ab9d4872d61604207cd5aef09b4 (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