projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1402b1
)
mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free()
author
Binbin Zhou
<zhoubinbin@loongson.cn>
Sat, 7 Jun 2025 07:39:03 +0000
(15:39 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 24 Jun 2025 10:43:25 +0000
(12:43 +0200)
Since the devm_mmc_alloc_host() helper is already in use,
sdhci_pltfm_free() is no longer needed.
Cc: Yixun Lan <dlan@gentoo.org>
Cc: linux-riscv@lists.infradead.org
Cc: spacemit@lists.linux.dev
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link:
https://lore.kernel.org/r/e98c6383c82a0af2dce6d07645c9fecd53de8767.1749127796.git.zhoubinbin@loongson.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-k1.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-k1.c
b/drivers/mmc/host/sdhci-of-k1.c
index
89f37f1
..
bc6d646
100644
(file)
--- 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;
}