]> git.dujemihanovic.xyz Git - linux.git/commit
Input: apbps2 - use devm_platform_get_and_ioremap_resource()
authorye xingchen <ye.xingchen@zte.com.cn>
Mon, 30 Jan 2023 02:29:35 +0000 (18:29 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Jan 2023 04:36:33 +0000 (20:36 -0800)
commit12b11142ee95e68891211268ce6a826f3396e870
tree261a81366eff2367d8464cb20f419aabbd97c0cd
parent6cb86b0a87bedd42b2c77c2714d66f812cf6fe74
Input: apbps2 - 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/202301281604596831304@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/apbps2.c