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)
commit28e26e927cf4a37fb84fb8fd9893c6a858676b87
tree7d9e408792acc4ab30f66b99d82e5507c36d720b
parent41657514c796e1f0a8cf289780aff8f79643b7e5
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