spi: atmel-quadspi: Simpify resource lookup

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20240820123818.1788432-1-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jinjie Ruan 2024-08-20 20:38:18 +08:00 • committed by Mark Brown
commit 3ccea1dede
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0