public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: max77620: fix platform_no_drv_owner.cocci warnings
@ 2016-01-12 10:51 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2016-01-12 10:51 UTC (permalink / raw)
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	linus.walleij, gnurou, lee.jones, broonie, a.zummo,
	alexandre.belloni, lgirdwood, devicetree, linux-kernel,
	linux-gpio, rtc-linux, swarren, treding, k.kozlowski,
	Laxman Dewangan, Chaitanya Bandi

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

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

CC: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

 pinctrl-max77620.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -678,7 +678,6 @@ static const struct platform_device_id m
 static struct platform_driver max77620_pinctrl_driver = {
 	.driver = {
 		.name = "max77620-pinctrl",
-		.owner = THIS_MODULE,
 		.pm = &max77620_pinctrl_pm_ops,
 	},
 	.probe = max77620_pinctrl_probe,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-12 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 10:51 [PATCH] pinctrl: max77620: fix platform_no_drv_owner.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox