mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
mmc: sdhci-brcmstb: 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: 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>
This commit is contained in:
parent
8f99383435
commit
04609d3467
|
|
@ -485,7 +485,6 @@ static int sdhci_brcmstb_probe(struct platform_device *pdev)
|
|||
return res;
|
||||
|
||||
err:
|
||||
sdhci_pltfm_free(pdev);
|
||||
clk_disable_unprepare(base_clk);
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user