commit | cc5117d6e4988e684f68ce5b5db312a3f0f943df | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Mar 06 17:11:46 2020 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Mar 24 15:21:24 2020 -0700 |
tree | 6a66010e2feafc01ee7767fe42be5f0b0cf22e34 | |
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>