spi: dw-mmio: Use devm_platform_ioremap_resource()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Jul 2019 11:42:30 +0000 (14:42 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:19:22 +0000 (13:19 +0100)
commit0521050215d0daae5d84b212fbe9fc16462f58f6
tree4f364d6ff684664822a83130ce8a044d3f9839bd
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
spi: dw-mmio: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20190710114230.30047-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c