spi: sh-msiof: Use devm_platform_ioremap_resource() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 7 Aug 2019 08:52:13 +0000 (10:52 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 7 Aug 2019 13:24:47 +0000 (14:24 +0100)
commit920d947af9cd528338bbfe989449489a9962142f
tree02522f3f16eb3050dd9d17fba22aa4e6e3d67926
parent3c0448d507d42605ab6811bcd61c1cd94390d2d8
spi: sh-msiof: Use devm_platform_ioremap_resource() helper

Use the devm_platform_ioremap_resource() helper instead of open-coding
the same operation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190807085213.24666-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c