i2c: mt7621: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 14 May 2022 02:31:48 +0000 (10:31 +0800)
committerWolfram Sang <wsa@kernel.org>
Sat, 21 May 2022 10:12:58 +0000 (12:12 +0200)
commit550b11395805060f5d61b2a367daf2d14c0d1d08
tree1fde738ba31d5f037ffb9ee3720853a47ac11ab6
parent238904dd646c60017d75144760510454062bcc8a
i2c: mt7621: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt7621.c