linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
  0 siblings, 1 reply; 2+ 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] 2+ messages in thread

* Re: [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings
  2019-11-08  1:35 [PATCH -next] gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-11-08 13:25 ` Linus Walleij
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2019-11-08 13:25 UTC | newest]

Thread overview: 2+ 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 13:25 ` Linus Walleij

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).