linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings
@ 2019-07-19  3:24 YueHaibing
  2019-08-02 22:33 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-07-19  3:24 UTC (permalink / raw)
  To: Linus Walleij, Orson Zhai, Baolin Wang, Chunyan Zhang,
	Greg Kroah-Hartman, Kate Stewart, Thomas Gleixner, Randy Dunlap,
	Richard Fontana
  Cc: YueHaibing, linux-gpio, 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/pinctrl/sprd/pinctrl-sprd-sc9860.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
index 3b65aeab7244..06c8671b40e7 100644
--- a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
+++ b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
@@ -940,7 +940,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match);
 static struct platform_driver sprd_pinctrl_driver = {
 	.driver = {
 		.name = "sprd-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = sprd_pinctrl_of_match,
 	},
 	.probe = sprd_pinctrl_probe,




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

* Re: [PATCH -next] pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings
  2019-07-19  3:24 [PATCH -next] pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-08-02 22:33 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2019-08-02 22:33 UTC (permalink / raw)
  To: YueHaibing
  Cc: Orson Zhai, Baolin Wang, Chunyan Zhang, Greg Kroah-Hartman,
	Kate Stewart, Thomas Gleixner, Randy Dunlap, Richard Fontana,
	open list:GPIO SUBSYSTEM, kernel-janitors

On Fri, Jul 19, 2019 at 5:18 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-08-02 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19  3:24 [PATCH -next] pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-08-02 22:33 ` 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).