public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings
  2015-08-21 20:12 [linux-next:master 7080/10086] drivers/media/i2c/tc358743.c:1960:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2015-08-21 20:12 ` kbuild test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2015-08-21 20:12 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: kbuild-all, Mauro Carvalho Chehab, linux-media, Mats Randgaard,
	linux-kernel

drivers/media/i2c/tc358743.c:1960:3-8: No need to set .owner here. The core will do it.

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

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

CC: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 tc358743.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/i2c/tc358743.c
+++ b/drivers/media/i2c/tc358743.c
@@ -1957,7 +1957,6 @@ MODULE_DEVICE_TABLE(i2c, tc358743_id);
 
 static struct i2c_driver tc358743_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "tc358743",
 	},
 	.probe = tc358743_probe,

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

* drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it.
@ 2015-10-01 14:25 kbuild test robot
  2015-10-01 14:25 ` [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2015-10-01 14:25 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: kbuild-all, Mauro Carvalho Chehab, linux-media

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f97b870eced0ec562f953d32eda03906c7dacad6
commit: 5cc596c66fe7c725ec049ae2093e7242034c97d6 [media] i2c: Make all i2c devices visible if COMPILE_TEST=y
date:   7 weeks ago


coccinelle warnings: (new ones prefixed by >>)

>> drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

* [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings
  2015-10-01 14:25 drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2015-10-01 14:25 ` kbuild test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2015-10-01 14:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: kbuild-all, Mauro Carvalho Chehab, linux-media, Hans Verkuil,
	Prabhakar Lad, Guennadi Liakhovetski, Boris BREZILLON,
	linux-kernel

drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it.

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

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

CC: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 ml86v7667.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/i2c/ml86v7667.c
+++ b/drivers/media/i2c/ml86v7667.c
@@ -427,7 +427,6 @@ MODULE_DEVICE_TABLE(i2c, ml86v7667_id);
 static struct i2c_driver ml86v7667_i2c_driver = {
 	.driver = {
 		.name	= DRV_NAME,
-		.owner	= THIS_MODULE,
 	},
 	.probe		= ml86v7667_probe,
 	.remove		= ml86v7667_remove,

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

end of thread, other threads:[~2015-10-01 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 14:25 drivers/media/i2c/ml86v7667.c:430:3-8: No need to set .owner here. The core will do it kbuild test robot
2015-10-01 14:25 ` [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2015-08-21 20:12 [linux-next:master 7080/10086] drivers/media/i2c/tc358743.c:1960:3-8: No need to set .owner here. The core will do it kbuild test robot
2015-08-21 20:12 ` [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot

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