public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings
       [not found] <201508220418.EFXIwRR6%fengguang.wu@intel.com>
@ 2015-08-21 20:12 ` kbuild test robot
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

* [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings
       [not found] <201510012253.SfwiqXQS%fengguang.wu@intel.com>
@ 2015-10-01 14:25 ` kbuild test robot
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201510012253.SfwiqXQS%fengguang.wu@intel.com>
2015-10-01 14:25 ` [PATCH] [media] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot
     [not found] <201508220418.EFXIwRR6%fengguang.wu@intel.com>
2015-08-21 20:12 ` 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