Input: olpc_apsp - use devm_platform_get_and_ioremap_resource()
authorye xingchen <ye.xingchen@zte.com.cn>
Mon, 30 Jan 2023 02:30:09 +0000 (18:30 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Jan 2023 04:36:36 +0000 (20:36 -0800)
commit492ec555a59a674c030ba1b429fb2d50e1b8de67
treed73f3c08d00610ceb78ef190e13b22e69164799d
parent24b915d1664a90f1871a96df426721b99bae7265
Input: olpc_apsp - use devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202301281608287301370@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/olpc_apsp.c