i2c: pnx: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Mon, 10 Jul 2023 06:33:50 +0000 (14:33 +0800)
committerWolfram Sang <wsa@kernel.org>
Mon, 14 Aug 2023 16:10:14 +0000 (18:10 +0200)
commit08e3351b4b4c6d5a9a99c804f06db830402f3594
treece2f87ab734e6d4194da591cfb4dff270694010f
parent733f41f7029418e2aa6f60f06c1b959a815b575a
i2c: pnx: 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: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-pnx.c