VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> 2021-01-26 17:58:34 +0100 committer: Uwe Kleine-König <uwe@kleine-koenig.org> 2021-02-02 14:25:50 +0100 commit: 3fd269e74f2feec973f45ee11d822faeda4fe284 parent: 5b495ac8fe03b9e0d2e775f9064c3e2a340ff440
Commit Summary:
amba: Make the remove callback return void
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index b5a41a7ce165..32f52d070bbd 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -2195,7 +2195,7 @@ static int mmci_probe(struct amba_device *dev,
 	return ret;
 }
 
-static int mmci_remove(struct amba_device *dev)
+static void mmci_remove(struct amba_device *dev)
 {
 	struct mmc_host *mmc = amba_get_drvdata(dev);
 
@@ -2223,8 +2223,6 @@ static int mmci_remove(struct amba_device *dev)
 		clk_disable_unprepare(host->clk);
 		mmc_free_host(mmc);
 	}
-
-	return 0;
 }
 
 #ifdef CONFIG_PM