mmc: meson-gx: Use devm_platform_get_and_ioremap_resource()
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 17 Feb 2023 08:30:05 +0000 (16:30 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 17 Feb 2023 10:55:16 +0000 (11:55 +0100)
commit571f235163ac83407e212b78719175236962aede
tree8807797bc63481f3bf33750d507079e04438e93c
parentc5a66dd8926baa60235bc8844925c36a1b83f488
mmc: meson-gx: Use 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.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230217083005.128668-1-yang.lee@linux.alibaba.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c