]> 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)
commit1a1ccb1cb1ecfc3594cea35b43059bc18cb43a70
tree7d9e408792acc4ab30f66b99d82e5507c36d720b
parent5d7433e1573aafca903df17e09b84f7a8c4d4b7f
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