]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mmc: sdhci-bcm-kona: Drop the use of sdhci_pltfm_free()
authorBinbin Zhou <zhoubinbin@loongson.cn>
Sat, 7 Jun 2025 07:35:44 +0000 (15:35 +0800)
committerUlf 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: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://lore.kernel.org/r/8edf02e2711b36d1acf63708b1921b690742072e.1749127796.git.zhoubinbin@loongson.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-bcm-kona.c

index fda911fb28e5afb546278454ba6916ddb99e9207..0f2a84f769b6beb47a0f42e7d8f7375df361f3ad 100644 (file)
@@ -304,8 +304,6 @@ err_clk_disable:
        clk_disable_unprepare(pltfm_priv->clk);
 
 err_pltfm_free:
-       sdhci_pltfm_free(pdev);
-
        dev_err(dev, "Probing of sdhci-pltfm failed: %d\n", ret);
        return ret;
 }