* [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
@ 2019-11-08 1:35 ` YueHaibing
0 siblings, 0 replies; 6+ messages in thread
From: YueHaibing @ 2019-11-08 1:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Ray Jui, Scott Branden
Cc: YueHaibing, bcm-kernel-feedback-list, linux-gpio,
linux-arm-kernel, kernel-janitors
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/gpio/gpio-xgs-iproc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c
index a3fdd95cc9e6..2e19129135c3 100644
--- a/drivers/gpio/gpio-xgs-iproc.c
+++ b/drivers/gpio/gpio-xgs-iproc.c
@@ -308,7 +308,6 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match);
static struct platform_driver bcm_iproc_gpio_driver = {
.driver = {
.name = "iproc-xgs-gpio",
- .owner = THIS_MODULE,
.of_match_table = bcm_iproc_gpio_of_match,
},
.probe = iproc_gpio_probe,
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
@ 2019-11-08 1:35 ` YueHaibing
0 siblings, 0 replies; 6+ messages in thread
From: YueHaibing @ 2019-11-08 1:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Ray Jui, Scott Branden
Cc: bcm-kernel-feedback-list, kernel-janitors, YueHaibing,
linux-arm-kernel, linux-gpio
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/gpio/gpio-xgs-iproc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c
index a3fdd95cc9e6..2e19129135c3 100644
--- a/drivers/gpio/gpio-xgs-iproc.c
+++ b/drivers/gpio/gpio-xgs-iproc.c
@@ -308,7 +308,6 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match);
static struct platform_driver bcm_iproc_gpio_driver = {
.driver = {
.name = "iproc-xgs-gpio",
- .owner = THIS_MODULE,
.of_match_table = bcm_iproc_gpio_of_match,
},
.probe = iproc_gpio_probe,
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
@ 2019-11-08 1:35 ` YueHaibing
0 siblings, 0 replies; 6+ messages in thread
From: YueHaibing @ 2019-11-08 1:35 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Ray Jui, Scott Branden
Cc: bcm-kernel-feedback-list, kernel-janitors, YueHaibing,
linux-arm-kernel, linux-gpio
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/gpio/gpio-xgs-iproc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c
index a3fdd95cc9e6..2e19129135c3 100644
--- a/drivers/gpio/gpio-xgs-iproc.c
+++ b/drivers/gpio/gpio-xgs-iproc.c
@@ -308,7 +308,6 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match);
static struct platform_driver bcm_iproc_gpio_driver = {
.driver = {
.name = "iproc-xgs-gpio",
- .owner = THIS_MODULE,
.of_match_table = bcm_iproc_gpio_of_match,
},
.probe = iproc_gpio_probe,
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
2019-11-08 1:35 ` YueHaibing
(?)
@ 2019-11-08 13:25 ` Linus Walleij
-1 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-11-08 13:25 UTC (permalink / raw)
To: YueHaibing
Cc: Bartosz Golaszewski, Ray Jui, Scott Branden,
bcm-kernel-feedback-list, open list:GPIO SUBSYSTEM, Linux ARM,
kernel-janitors
On Fri, Nov 8, 2019 at 2:36 AM YueHaibing <yuehaibing@huawei.com> wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
@ 2019-11-08 13:25 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-11-08 13:25 UTC (permalink / raw)
To: YueHaibing
Cc: Scott Branden, open list:GPIO SUBSYSTEM, Ray Jui,
kernel-janitors, Bartosz Golaszewski, bcm-kernel-feedback-list,
Linux ARM
On Fri, Nov 8, 2019 at 2:36 AM YueHaibing <yuehaibing@huawei.com> wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
@ 2019-11-08 13:25 ` Linus Walleij
0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2019-11-08 13:25 UTC (permalink / raw)
To: YueHaibing
Cc: Scott Branden, open list:GPIO SUBSYSTEM, Ray Jui,
kernel-janitors, Bartosz Golaszewski, bcm-kernel-feedback-list,
Linux ARM
On Fri, Nov 8, 2019 at 2:36 AM YueHaibing <yuehaibing@huawei.com> wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Patch applied.
Yours,
Linus Walleij
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-11-08 13:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 1:35 [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-11-08 1:35 ` YueHaibing
2019-11-08 1:35 ` YueHaibing
2019-11-08 13:25 ` Linus Walleij
2019-11-08 13:25 ` Linus Walleij
2019-11-08 13:25 ` Linus Walleij
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.