spi: aspeed: Use devm_platform_{get_and_}ioremap_resource()

Use the devm_platform_{get_and_}ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource() separately.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221019092635.1176622-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Yang Yingliang 2022-10-19 17:26:35 +08:00 • committed by Mark Brown
commit 6d0cebbdf2
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0