Simplifies the code. Also a bugfix with devm_clk_get_optional. Rosen Penev (3): mmc: mtk-sd: use devm_mmc_alloc_host mmc: mtd-sd: use devm_platform_ioremap_resource mmc: mtk-sd: fix devm_clk_get_optional usage drivers/mmc/host/mtk-sd.c | 70 ++++++++++++++------------------------- 1 file changed, 25 insertions(+), 45 deletions(-) -- 2.46.2