All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver
@ 2016-10-17 14:51 Wei Yongjun
  2016-10-17 20:38 ` Javier Martinez Canillas
  2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Yongjun @ 2016-10-17 14:51 UTC (permalink / raw)
  To: Javier Martinez Canillas, Zhao Qiang; +Cc: Wei Yongjun, netdev

From: Wei Yongjun <weiyongjun1@huawei.com>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/net/wan/slic_ds26522.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c
index b776a0a..5bca31c 100644
--- a/drivers/net/wan/slic_ds26522.c
+++ b/drivers/net/wan/slic_ds26522.c
@@ -241,7 +241,6 @@ static struct spi_driver slic_ds26522_driver = {
 	.driver = {
 		   .name = "ds26522",
 		   .bus = &spi_bus_type,
-		   .owner = THIS_MODULE,
 		   .of_match_table = slic_ds26522_match,
 		   },
 	.probe = slic_ds26522_probe,

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

* Re: [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver
  2016-10-17 14:51 [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver Wei Yongjun
@ 2016-10-17 20:38 ` Javier Martinez Canillas
  2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
  1 sibling, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-10-17 20:38 UTC (permalink / raw)
  To: Wei Yongjun, Zhao Qiang; +Cc: Wei Yongjun, netdev

Hello Wei,

On 10/17/2016 11:51 AM, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> Remove .owner field if calls are used which set it automatically.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
>  drivers/net/wan/slic_ds26522.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c
> index b776a0a..5bca31c 100644
> --- a/drivers/net/wan/slic_ds26522.c
> +++ b/drivers/net/wan/slic_ds26522.c
> @@ -241,7 +241,6 @@ static struct spi_driver slic_ds26522_driver = {
>  	.driver = {
>  		   .name = "ds26522",
>  		   .bus = &spi_bus_type,
> -		   .owner = THIS_MODULE,
>  		   .of_match_table = slic_ds26522_match,
>  		   },
>  	.probe = slic_ds26522_probe,
> 

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* [PATCH net-next v2] net: wan: slic_ds26522: Remove .owner field for driver
  2016-10-17 14:51 [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver Wei Yongjun
  2016-10-17 20:38 ` Javier Martinez Canillas
@ 2017-02-06 15:26 ` Wei Yongjun
  2017-02-07 16:43   ` David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Wei Yongjun @ 2017-02-06 15:26 UTC (permalink / raw)
  To: Javier Martinez Canillas, Zhao Qiang, Colin Ian King; +Cc: Wei Yongjun, netdev

From: Wei Yongjun <weiyongjun1@huawei.com>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/net/wan/slic_ds26522.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c
index 9d9b4e0..f80fb4f 100644
--- a/drivers/net/wan/slic_ds26522.c
+++ b/drivers/net/wan/slic_ds26522.c
@@ -241,7 +241,6 @@ static struct spi_driver slic_ds26522_driver = {
 	.driver = {
 		   .name = "ds26522",
 		   .bus = &spi_bus_type,
-		   .owner = THIS_MODULE,
 		   .of_match_table = slic_ds26522_match,
 		   },
 	.probe = slic_ds26522_probe,

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

* Re: [PATCH net-next v2] net: wan: slic_ds26522: Remove .owner field for driver
  2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
@ 2017-02-07 16:43   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2017-02-07 16:43 UTC (permalink / raw)
  To: weiyj.lk; +Cc: javier, qiang.zhao, colin.king, weiyongjun1, netdev

From: Wei Yongjun <weiyj.lk@gmail.com>
Date: Mon,  6 Feb 2017 15:26:17 +0000

> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> Remove .owner field if calls are used which set it automatically.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>

Applied.

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

end of thread, other threads:[~2017-02-07 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 14:51 [PATCH -next] net: wan: slic_ds26522: Remove .owner field for driver Wei Yongjun
2016-10-17 20:38 ` Javier Martinez Canillas
2017-02-06 15:26 ` [PATCH net-next v2] " Wei Yongjun
2017-02-07 16:43   ` David Miller

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.