All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings
@ 2016-04-13  8:46 ` Julia Lawall
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2016-04-13  8:46 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

CC: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

 atmel-isc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/platform/atmel/atmel-isc.c
+++ b/drivers/media/platform/atmel/atmel-isc.c
@@ -1524,7 +1524,6 @@ static struct platform_driver atmel_isc_
 	.remove	 = atmel_isc_remove,
 	.driver	 = {
 		.name   = ATMEL_ISC_NAME,
-		.owner  = THIS_MODULE,
 		.of_match_table = of_match_ptr(atmel_isc_of_match),
 	},
 };

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

end of thread, other threads:[~2016-04-13  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13  8:46 [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings Julia Lawall
2016-04-13  8:46 ` Julia Lawall
2016-04-13  9:24 ` Wu, Songjun
2016-04-13  9:24   ` Wu, Songjun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.