mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
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 <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>
This commit is contained in:
parent
a1402b12dc
commit
da94d533ec
|
|
@ -290,7 +290,6 @@ static int spacemit_sdhci_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
|
||||
err_pltfm:
|
||||
sdhci_pltfm_free(pdev);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user