From: Binbin Zhou Date: Sat, 7 Jun 2025 07:39:03 +0000 (+0800) Subject: mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da94d533ec9a62adbfe9c03cb931e251a7234d41;p=thirdparty%2Fkernel%2Fstable.git mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free() Since the devm_mmc_alloc_host() helper is already in use, sdhci_pltfm_free() is no longer needed. Cc: Yixun Lan Cc: linux-riscv@lists.infradead.org Cc: spacemit@lists.linux.dev Reviewed-by: Yixun Lan Signed-off-by: Binbin Zhou Link: https://lore.kernel.org/r/e98c6383c82a0af2dce6d07645c9fecd53de8767.1749127796.git.zhoubinbin@loongson.cn Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-of-k1.c b/drivers/mmc/host/sdhci-of-k1.c index 89f37f147a8a..bc6d6460408f 100644 --- a/drivers/mmc/host/sdhci-of-k1.c +++ b/drivers/mmc/host/sdhci-of-k1.c @@ -290,7 +290,6 @@ static int spacemit_sdhci_probe(struct platform_device *pdev) return 0; err_pltfm: - sdhci_pltfm_free(pdev); return ret; }