diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-06-25 18:28:17 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-07-08 01:54:30 +0200 |
commit | 59a51ba6e946a2a02865285eb3e10bb607033dd3 (patch) | |
tree | 00fb83c93286834d8a94d2f833a662c039c5ec82 /drivers/input/keyboard | |
parent | Input: bu21013_ts - use local 'client->dev' variable in probe() (diff) | |
download | linux-59a51ba6e946a2a02865285eb3e10bb607033dd3.tar.xz linux-59a51ba6e946a2a02865285eb3e10bb607033dd3.zip |
Input: bu21029_ts - use local 'client->dev' variable in probe()
'dev' is shorter and simpler than '&client->dev' and in few cases it
allows to skip line wrapping. Probe function uses '&client->dev' a lot,
so this improves readability slightly.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230625162817.100397-25-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
0 files changed, 0 insertions, 0 deletions