i2c: riic: Use devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of calling
platform_get_resource() and devm_ioremap_resource() separately.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Lad Prabhakar 2022-09-13 18:01:21 +01:00 • committed by Wolfram Sang
commit e05e47088e