i2c: sprd: Change to use devm_platform_ioremap_resource()
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 25 Jul 2019 07:56:17 +0000 (15:56 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 6 Aug 2019 20:54:23 +0000 (22:54 +0200)
commit3c2588fab65fb083873c6c1e74a1be54345615eb
tree33389cc7ea64caf651d51e68438979ea34ebee73
parent4d7802aa434a39921c699683c4ca2ad9068b0033
i2c: sprd: Change to use devm_platform_ioremap_resource()

Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sprd.c