spi: pxa2xx: Simplify with devm_platform_get_and_ioremap_resource()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Oct 2022 17:12:38 +0000 (20:12 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 18 Oct 2022 18:16:51 +0000 (19:16 +0100)
commite3b7fca31185813297bb995d7b21a6305bb62c84
tree158c8b755a69ac25897d7e29a003a0f0f495274b
parent4e12ef2b2e3f65c4fba895262363c499476848a1
spi: pxa2xx: Simplify with devm_platform_get_and_ioremap_resource()

Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

No functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221017171243.57078-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c