[PATCH v2 22/35] mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free()
Binbin Zhou
zhoubinbin at loongson.cn
Thu May 29 06:00:18 PDT 2025
Since the devm_mmc_alloc_host() helper is already in use,
sdhci_pltfm_free() is no longer needed.
Cc: Yixun Lan <dlan at gentoo.org>
Cc: linux-riscv at lists.infradead.org
Cc: spacemit at lists.linux.dev
Signed-off-by: Binbin Zhou <zhoubinbin at loongson.cn>
---
drivers/mmc/host/sdhci-of-k1.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-of-k1.c b/drivers/mmc/host/sdhci-of-k1.c
index 6880d3e9ab62..026dc79af292 100644
--- a/drivers/mmc/host/sdhci-of-k1.c
+++ b/drivers/mmc/host/sdhci-of-k1.c
@@ -286,7 +286,6 @@ static int spacemit_sdhci_probe(struct platform_device *pdev)
return 0;
err_pltfm:
- sdhci_pltfm_free(pdev);
return ret;
}
--
2.47.1
More information about the linux-riscv
mailing list