]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ep93xx_keypad - use devm_platform_ioremap_resource() helper
authorLv Ruyi <lv.ruyi@zte.com.cn>
Wed, 20 Apr 2022 21:46:20 +0000 (14:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 25 Apr 2022 01:25:03 +0000 (18:25 -0700)
commitc12807089d32e29d65688782c7466d9120924623
tree7d9e408792acc4ab30f66b99d82e5507c36d720b
parentb9fc024c53880de84866073e703b16253c887b7c
Input: ep93xx_keypad - use devm_platform_ioremap_resource() helper

Use the devm_platform_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately. This
makes the code simpler without functional changes.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20220418015036.2556731-1-lv.ruyi@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/ep93xx_keypad.c