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