mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
@@ -3267,17 +3267,12 @@ static void mmc_test_remove(struct mmc_card *card)
|
|||||||
mmc_test_free_dbgfs_file(card);
|
mmc_test_free_dbgfs_file(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mmc_test_shutdown(struct mmc_card *card)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct mmc_driver mmc_driver = {
|
static struct mmc_driver mmc_driver = {
|
||||||
.drv = {
|
.drv = {
|
||||||
.name = "mmc_test",
|
.name = "mmc_test",
|
||||||
},
|
},
|
||||||
.probe = mmc_test_probe,
|
.probe = mmc_test_probe,
|
||||||
.remove = mmc_test_remove,
|
.remove = mmc_test_remove,
|
||||||
.shutdown = mmc_test_shutdown,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init mmc_test_init(void)
|
static int __init mmc_test_init(void)
|
||||||
|
Reference in New Issue
Block a user