mmc: sdhci-st: Use devm_platform_ioremap_resource_byname()
authorLi Zetao <lizetao1@huawei.com>
Wed, 2 Aug 2023 09:40:28 +0000 (17:40 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Aug 2023 11:21:48 +0000 (13:21 +0200)
commitaa857326a454814478b8e7c52caeee1743d92e0d
treed73f7a85c4436f7b5490b4b1c56a5d2e4dadc39d
parent90ecc29a09d5113a54d09053a019d4236ca685ca
mmc: sdhci-st: Use devm_platform_ioremap_resource_byname()

Convert platform_get_resource_byname() + devm_ioremap_resource() to a
single call to devm_platform_ioremap_resource_byname(), as this is
exactly what this function does.

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230802094028.976612-1-lizetao1@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-st.c