* [PATCH] mmc: test: remove the shutdown function
@ 2021-01-19 5:14 Yue Hu
2021-01-20 14:07 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: Yue Hu @ 2021-01-19 5:14 UTC (permalink / raw)
To: ulf.hansson; +Cc: linux-mmc, linux-kernel, huyue2, zbestahu
From: Yue Hu <huyue2@yulong.com>
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>
---
drivers/mmc/core/mmc_test.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c
index 152e752..f999b48 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)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: test: remove the shutdown function
2021-01-19 5:14 [PATCH] mmc: test: remove the shutdown function Yue Hu
@ 2021-01-20 14:07 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2021-01-20 14:07 UTC (permalink / raw)
To: Yue Hu; +Cc: linux-mmc, Linux Kernel Mailing List, Yue Hu, zbestahu
On Tue, 19 Jan 2021 at 06:14, Yue Hu <zbestahu@gmail.com> wrote:
>
> From: Yue Hu <huyue2@yulong.com>
>
> 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>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/core/mmc_test.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c
> index 152e752..f999b48 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)
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-20 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 5:14 [PATCH] mmc: test: remove the shutdown function Yue Hu
2021-01-20 14:07 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).