aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2021-02-22 13:09:55 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2021-02-22 13:09:55 +0000
commit90e53c5e09251edb2cee367f6cb472e4bac121f2 (patch)
tree797296eb8ef5de54a6ec919c0c1f7e1940262c4e /drivers/mmc/host/mmci.c
parentARM: 9065/1: OABI compat: fix build when EPOLL is not enabled (diff)
parentARM: 9055/1: mailbox: arm_mhuv2: make remove callback return void (diff)
downloadlinux-90e53c5e09251edb2cee367f6cb472e4bac121f2.tar.gz
linux-90e53c5e09251edb2cee367f6cb472e4bac121f2.zip
Merge branch 'devel-stable' into for-linus
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r--drivers/mmc/host/mmci.c4
1 files changed, 1 insertions, 3 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