aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sdhci-of-arasan.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index 5f10c22ea3aa..bcb51e9dfdcd 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -165,7 +165,6 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
165 host = sdhci_pltfm_init(pdev, &sdhci_arasan_pdata, 0); 165 host = sdhci_pltfm_init(pdev, &sdhci_arasan_pdata, 0);
166 if (IS_ERR(host)) { 166 if (IS_ERR(host)) {
167 ret = PTR_ERR(host); 167 ret = PTR_ERR(host);
168 dev_err(&pdev->dev, "platform init failed (%d)\n", ret);
169 goto clk_disable_all; 168 goto clk_disable_all;
170 } 169 }
171 170
@@ -175,10 +174,8 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
175 pltfm_host->clk = clk_xin; 174 pltfm_host->clk = clk_xin;
176 175
177 ret = sdhci_add_host(host); 176 ret = sdhci_add_host(host);
178 if (ret) { 177 if (ret)
179 dev_err(&pdev->dev, "platform register failed (%d)\n", ret);
180 goto err_pltfm_free; 178 goto err_pltfm_free;
181 }
182 179
183 return 0; 180 return 0;
184 181