summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-01-19 13:14:25 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2021-02-01 11:54:48 +0100
commit6d7ffe169e281b5724abd42843f13882f0526fd5 (patch)
tree3532b0521a9acd50e6e8090facdcd45d1940e4a5 /drivers/mmc/core
parentbd7342fea7f88863605fabce103ff0dc5d488276 (diff)
downloadlinux-6d7ffe169e281b5724abd42843f13882f0526fd5.tar.bz2
mmc: test: remove the shutdown function
Since it's doing nothing for shutdown behavior. And the callback will be checked firstly in mmc_bus_shutdown(). Signed-off-by: Yue Hu <huyue2@yulong.com> Link: https://lore.kernel.org/r/20210119051425.305-1-zbestahu@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r--drivers/mmc/core/mmc_test.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c
index 152e7525ed33..f999b483549d 100644
--- a/drivers/mmc/core/mmc_test.c
+++ b/drivers/mmc/core/mmc_test.c
@@ -3267,17 +3267,12 @@ static void mmc_test_remove(struct mmc_card *card)
mmc_test_free_dbgfs_file(card);
}
-static void mmc_test_shutdown(struct mmc_card *card)
-{
-}
-
static struct mmc_driver mmc_driver = {
.drv = {
.name = "mmc_test",
},
.probe = mmc_test_probe,
.remove = mmc_test_remove,
- .shutdown = mmc_test_shutdown,
};
static int __init mmc_test_init(void)