mmc: tmio: convert to devm_platform_ioremap_resource
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 15 Dec 2019 17:51:09 +0000 (17:51 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 18 Dec 2019 13:46:06 +0000 (14:46 +0100)
commit1cfb7c28b06b06841b50b1f76a93e039e708fb1d
tree6565ff89bdd0fddb125de35e76c39759a39123c3
parentc5c52c373096e225ee3cb7ea3799b2d46415f858
mmc: tmio: convert to devm_platform_ioremap_resource

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20191215175120.3290-2-tiny.windzz@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c