* [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings
@ 2016-04-13 8:46 Julia Lawall
2016-04-13 9:24 ` Wu, Songjun
0 siblings, 1 reply; 2+ 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] 2+ messages in thread
* Re: [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings
2016-04-13 8:46 [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings Julia Lawall
@ 2016-04-13 9:24 ` Wu, Songjun
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2016-04-13 9:24 UTC | newest]
Thread overview: 2+ 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 9:24 ` Wu, Songjun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).