* [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* [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: Songjun Wu Cc: g.liakhovetski, nicolas.ferre, linux-arm-kernel, Songjun Wu, Mauro Carvalho Chehab, Hans Verkuil, Sudip Mukherjee, Mikhail Ulyanov, Fabien Dessenne, Peter Griffin, Benoit Parrot, Laurent Pinchart, Gerd Hoffmann, Richard Röjfors, linux-kernel, linux-media, kbuild 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
* [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings 2016-04-13 8:46 ` Julia Lawall @ 2016-04-13 9:24 ` Wu, Songjun -1 siblings, 0 replies; 4+ messages in thread From: Wu, Songjun @ 2016-04-13 9:24 UTC (permalink / raw) To: linux-arm-kernel Accept. Thank you for your comments. On 4/13/2016 16:46, Julia Lawall wrote: > 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
* Re: [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings @ 2016-04-13 9:24 ` Wu, Songjun 0 siblings, 0 replies; 4+ messages in thread From: Wu, Songjun @ 2016-04-13 9:24 UTC (permalink / raw) To: Julia Lawall Cc: g.liakhovetski, nicolas.ferre, linux-arm-kernel, Mauro Carvalho Chehab, Hans Verkuil, Sudip Mukherjee, Mikhail Ulyanov, Fabien Dessenne, Peter Griffin, Benoit Parrot, Laurent Pinchart, Gerd Hoffmann, Richard Röjfors, linux-kernel, linux-media, kbuild Accept. Thank you for your comments. On 4/13/2016 16:46, Julia Lawall wrote: > 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.