All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings
  2015-01-30  2:26 [linuxtv-media:master 66/173] drivers/media/platform/am437x/am437x-vpfe.c:2767:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2015-01-30  2:26 ` kbuild test robot
  2015-01-30  7:52   ` Lad, Prabhakar
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

* [linuxtv-media:master 66/173] drivers/media/platform/am437x/am437x-vpfe.c:2767:3-8: No need to set .owner here. The core will do it.
@ 2015-01-30  2:26 kbuild test robot
  2015-01-30  2:26 ` [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings kbuild test robot
  0 siblings, 1 reply; 3+ 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

tree:   git://linuxtv.org/media_tree.git master
head:   a5f43c18fceb2b96ec9fddb4348f5282a71cf2b0
commit: 417d2e507edcb5cf15eb344f86bd3dd28737f24e [66/173] [media] media: platform: add VPFE capture driver support for AM437X


coccinelle warnings: (new ones prefixed by >>)

>> drivers/media/platform/am437x/am437x-vpfe.c:2767:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 3+ 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; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2015-01-30  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30  2:26 [linuxtv-media:master 66/173] drivers/media/platform/am437x/am437x-vpfe.c:2767:3-8: No need to set .owner here. The core will do it kbuild test robot
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 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.