All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: sdhci-pic32: remove owner assignment
@ 2016-04-08  5:22 Masahiro Yamada
  2016-04-08  7:05 ` Adrian Hunter
  2016-04-11 13:33 ` Ulf Hansson
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2016-04-08  5:22 UTC (permalink / raw)
  To: linux-mmc; +Cc: Masahiro Yamada, linux-kernel, Adrian Hunter, Ulf Hansson

A platform_driver does not need to set an owner, it will be populated
by the driver core.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mmc/host/sdhci-pic32.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-pic32.c b/drivers/mmc/host/sdhci-pic32.c
index 059df70..72c13b6 100644
--- a/drivers/mmc/host/sdhci-pic32.c
+++ b/drivers/mmc/host/sdhci-pic32.c
@@ -243,7 +243,6 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table);
 static struct platform_driver pic32_sdhci_driver = {
 	.driver = {
 		.name	= "pic32-sdhci",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(pic32_sdhci_id_table),
 	},
 	.probe		= pic32_sdhci_probe,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: sdhci-pic32: remove owner assignment
  2016-04-08  5:22 [PATCH] mmc: sdhci-pic32: remove owner assignment Masahiro Yamada
@ 2016-04-08  7:05 ` Adrian Hunter
  2016-04-11 13:33 ` Ulf Hansson
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Hunter @ 2016-04-08  7:05 UTC (permalink / raw)
  To: Masahiro Yamada, linux-mmc; +Cc: linux-kernel, Ulf Hansson

On 08/04/16 08:22, Masahiro Yamada wrote:
> A platform_driver does not need to set an owner, it will be populated
> by the driver core.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  drivers/mmc/host/sdhci-pic32.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/sdhci-pic32.c b/drivers/mmc/host/sdhci-pic32.c
> index 059df70..72c13b6 100644
> --- a/drivers/mmc/host/sdhci-pic32.c
> +++ b/drivers/mmc/host/sdhci-pic32.c
> @@ -243,7 +243,6 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table);
>  static struct platform_driver pic32_sdhci_driver = {
>  	.driver = {
>  		.name	= "pic32-sdhci",
> -		.owner	= THIS_MODULE,
>  		.of_match_table = of_match_ptr(pic32_sdhci_id_table),
>  	},
>  	.probe		= pic32_sdhci_probe,
> 

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: sdhci-pic32: remove owner assignment
  2016-04-08  5:22 [PATCH] mmc: sdhci-pic32: remove owner assignment Masahiro Yamada
  2016-04-08  7:05 ` Adrian Hunter
@ 2016-04-11 13:33 ` Ulf Hansson
  1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2016-04-11 13:33 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-mmc, linux-kernel, Adrian Hunter

On 8 April 2016 at 07:22, Masahiro Yamada <yamada.masahiro@socionext.com> wrote:
> A platform_driver does not need to set an owner, it will be populated
> by the driver core.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Thanks, applied for next!

Kind regards
Uffe

> ---
>
>  drivers/mmc/host/sdhci-pic32.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-pic32.c b/drivers/mmc/host/sdhci-pic32.c
> index 059df70..72c13b6 100644
> --- a/drivers/mmc/host/sdhci-pic32.c
> +++ b/drivers/mmc/host/sdhci-pic32.c
> @@ -243,7 +243,6 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table);
>  static struct platform_driver pic32_sdhci_driver = {
>         .driver = {
>                 .name   = "pic32-sdhci",
> -               .owner  = THIS_MODULE,
>                 .of_match_table = of_match_ptr(pic32_sdhci_id_table),
>         },
>         .probe          = pic32_sdhci_probe,
> --
> 1.9.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-11 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08  5:22 [PATCH] mmc: sdhci-pic32: remove owner assignment Masahiro Yamada
2016-04-08  7:05 ` Adrian Hunter
2016-04-11 13:33 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.