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:
8f99383
)
mmc: sdhci-brcmstb: Drop the use of sdhci_pltfm_free()
author
Binbin Zhou
<zhoubinbin@loongson.cn>
Sat, 7 Jun 2025 07:35:45 +0000
(15:35 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 24 Jun 2025 10:43:24 +0000
(12:43 +0200)
Since the devm_mmc_alloc_host() helper is already in use,
sdhci_pltfm_free() is no longer needed.
Cc: Kamal Dasu <kamal.dasu@broadcom.com>
Cc: Al Cooper <alcooperx@gmail.com>
Cc: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link:
https://lore.kernel.org/r/e9a76f0ecb07832acefadb209cf50171df6bb180.1749127796.git.zhoubinbin@loongson.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-brcmstb.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-brcmstb.c
b/drivers/mmc/host/sdhci-brcmstb.c
index
48cdcba
..
efc2f3b
100644
(file)
--- a/
drivers/mmc/host/sdhci-brcmstb.c
+++ b/
drivers/mmc/host/sdhci-brcmstb.c
@@
-485,7
+485,6
@@
add_host:
return res;
err:
- sdhci_pltfm_free(pdev);
clk_disable_unprepare(base_clk);
return res;
}