LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings
[not found] <201501301005.asa6DlE9%fengguang.wu@intel.com>
@ 2015-01-30 2:26 ` kbuild test robot
2015-01-30 7:52 ` Lad, Prabhakar
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-01-30 2:26 UTC (permalink / raw)
To: Benoit Parrot
Cc: kbuild-all, Mauro Carvalho Chehab, linux-media, Darren Etheridge,
Lad, Prabhakar, Hans Verkuil, linux-kernel
drivers/media/platform/am437x/am437x-vpfe.c:2767: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: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
am437x-vpfe.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/media/platform/am437x/am437x-vpfe.c
+++ b/drivers/media/platform/am437x/am437x-vpfe.c
@@ -2764,7 +2764,6 @@ static struct platform_driver vpfe_drive
.remove = vpfe_remove,
.driver = {
.name = VPFE_MODULE_NAME,
- .owner = THIS_MODULE,
.pm = &vpfe_pm_ops,
.of_match_table = of_match_ptr(vpfe_of_match),
},
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings
2015-01-30 2:26 ` [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2015-01-30 7:52 ` Lad, Prabhakar
0 siblings, 0 replies; 2+ messages in thread
From: Lad, Prabhakar @ 2015-01-30 7:52 UTC (permalink / raw)
To: kbuild test robot
Cc: Benoit Parrot, kbuild-all, Mauro Carvalho Chehab, linux-media,
Darren Etheridge, Hans Verkuil, LKML
On Fri, Jan 30, 2015 at 2:26 AM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> drivers/media/platform/am437x/am437x-vpfe.c:2767: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: Benoit Parrot <bparrot@ti.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Regards,
--Prabhakar Lad
> ---
>
> am437x-vpfe.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/media/platform/am437x/am437x-vpfe.c
> +++ b/drivers/media/platform/am437x/am437x-vpfe.c
> @@ -2764,7 +2764,6 @@ static struct platform_driver vpfe_drive
> .remove = vpfe_remove,
> .driver = {
> .name = VPFE_MODULE_NAME,
> - .owner = THIS_MODULE,
> .pm = &vpfe_pm_ops,
> .of_match_table = of_match_ptr(vpfe_of_match),
> },
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-30 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201501301005.asa6DlE9%fengguang.wu@intel.com>
2015-01-30 2:26 ` [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-01-30 7:52 ` Lad, Prabhakar
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).