All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  6:29 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:29 UTC (permalink / raw)
  To: Matthias Brugger, Sascha Hauer, Krzysztof Kozlowski,
	Thierry Reding, Flora Fu,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support, open list

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
index f432291feee9..8bc7b41b09fd 100644
--- a/drivers/soc/mediatek/mtk-pmic-wrap.c
+++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
@@ -926,7 +926,6 @@ err_out1:
 static struct platform_driver pwrap_drv = {
 	.driver = {
 		.name = "mt-pmic-pwrap",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
 	},
 	.probe = pwrap_probe,
-- 
1.9.1


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

* [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  6:29 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:29 UTC (permalink / raw)
  To: Matthias Brugger, Sascha Hauer, Krzysztof Kozlowski,
	Thierry Reding, Flora Fu,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support, open list

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
index f432291feee9..8bc7b41b09fd 100644
--- a/drivers/soc/mediatek/mtk-pmic-wrap.c
+++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
@@ -926,7 +926,6 @@ err_out1:
 static struct platform_driver pwrap_drv = {
 	.driver = {
 		.name = "mt-pmic-pwrap",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
 	},
 	.probe = pwrap_probe,
-- 
1.9.1

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

* [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  6:29 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  6:29 UTC (permalink / raw)
  To: linux-arm-kernel

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
 drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
index f432291feee9..8bc7b41b09fd 100644
--- a/drivers/soc/mediatek/mtk-pmic-wrap.c
+++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
@@ -926,7 +926,6 @@ err_out1:
 static struct platform_driver pwrap_drv = {
 	.driver = {
 		.name = "mt-pmic-pwrap",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
 	},
 	.probe = pwrap_probe,
-- 
1.9.1

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

* Re: [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  7:15   ` Sascha Hauer
  0 siblings, 0 replies; 9+ messages in thread
From: Sascha Hauer @ 2015-07-10  7:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Matthias Brugger, Thierry Reding, Flora Fu,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support, open list

On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>


> 
> ---
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
>  drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
> index f432291feee9..8bc7b41b09fd 100644
> --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
> +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
> @@ -926,7 +926,6 @@ err_out1:
>  static struct platform_driver pwrap_drv = {
>  	.driver = {
>  		.name = "mt-pmic-pwrap",
> -		.owner = THIS_MODULE,
>  		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
>  	},
>  	.probe = pwrap_probe,
> -- 
> 1.9.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  7:15   ` Sascha Hauer
  0 siblings, 0 replies; 9+ messages in thread
From: Sascha Hauer @ 2015-07-10  7:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: open list, Flora Fu, moderated list:ARM/Mediatek SoC support,
	Matthias Brugger, Thierry Reding,
	moderated list:ARM/Mediatek SoC support

On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

Acked-by: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>


> 
> ---
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
>  drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
> index f432291feee9..8bc7b41b09fd 100644
> --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
> +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
> @@ -926,7 +926,6 @@ err_out1:
>  static struct platform_driver pwrap_drv = {
>  	.driver = {
>  		.name = "mt-pmic-pwrap",
> -		.owner = THIS_MODULE,
>  		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
>  	},
>  	.probe = pwrap_probe,
> -- 
> 1.9.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10  7:15   ` Sascha Hauer
  0 siblings, 0 replies; 9+ messages in thread
From: Sascha Hauer @ 2015-07-10  7:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>


> 
> ---
> 
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
>  drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
> index f432291feee9..8bc7b41b09fd 100644
> --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
> +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
> @@ -926,7 +926,6 @@ err_out1:
>  static struct platform_driver pwrap_drv = {
>  	.driver = {
>  		.name = "mt-pmic-pwrap",
> -		.owner = THIS_MODULE,
>  		.of_match_table = of_match_ptr(of_pwrap_match_tbl),
>  	},
>  	.probe = pwrap_probe,
> -- 
> 1.9.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: [PATCH] soc: mediatek: Drop owner assignment from platform_driver
  2015-07-10  7:15   ` Sascha Hauer
  (?)
@ 2015-07-10 14:39     ` Matthias Brugger
  -1 siblings, 0 replies; 9+ messages in thread
From: Matthias Brugger @ 2015-07-10 14:39 UTC (permalink / raw)
  To: Sascha Hauer
  Cc: Krzysztof Kozlowski, Thierry Reding, Flora Fu,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support, open list

On Friday, July 10, 2015 09:15:24 AM Sascha Hauer wrote:
> On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> > platform_driver does not need to set an owner because
> > platform_driver_register() will set it.
> > 
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
> 

applied, thanks.

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

* Re: [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10 14:39     ` Matthias Brugger
  0 siblings, 0 replies; 9+ messages in thread
From: Matthias Brugger @ 2015-07-10 14:39 UTC (permalink / raw)
  To: Sascha Hauer
  Cc: Krzysztof Kozlowski, Thierry Reding, Flora Fu,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support, open list

On Friday, July 10, 2015 09:15:24 AM Sascha Hauer wrote:
> On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> > platform_driver does not need to set an owner because
> > platform_driver_register() will set it.
> > 
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
> 

applied, thanks.

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

* [PATCH] soc: mediatek: Drop owner assignment from platform_driver
@ 2015-07-10 14:39     ` Matthias Brugger
  0 siblings, 0 replies; 9+ messages in thread
From: Matthias Brugger @ 2015-07-10 14:39 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday, July 10, 2015 09:15:24 AM Sascha Hauer wrote:
> On Fri, Jul 10, 2015 at 03:29:45PM +0900, Krzysztof Kozlowski wrote:
> > platform_driver does not need to set an owner because
> > platform_driver_register() will set it.
> > 
> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
> 

applied, thanks.

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

end of thread, other threads:[~2015-07-10 14:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  6:29 [PATCH] soc: mediatek: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10  6:29 ` Krzysztof Kozlowski
2015-07-10  6:29 ` Krzysztof Kozlowski
2015-07-10  7:15 ` Sascha Hauer
2015-07-10  7:15   ` Sascha Hauer
2015-07-10  7:15   ` Sascha Hauer
2015-07-10 14:39   ` Matthias Brugger
2015-07-10 14:39     ` Matthias Brugger
2015-07-10 14:39     ` Matthias Brugger

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.