linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings
       [not found] <201501151731.Zwvnv4Cu%fengguang.wu@intel.com>
@ 2015-01-15  9:05 ` kbuild test robot
  2015-01-15  9:13   ` [alsa-devel] " Barry Song
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-01-15  9:05 UTC (permalink / raw)
  To: linux-arm-kernel

sound/soc/sirf/sirf-atlas7-cs42xx8.c:192: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: Yibo Cai <yibo.cai@csr.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sirf-atlas7-cs42xx8.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sirf/sirf-atlas7-cs42xx8.c
+++ b/sound/soc/sirf/sirf-atlas7-cs42xx8.c
@@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, sirf_hdmi_card_o
 static struct platform_driver sirf_hdmi_card_driver = {
 	.driver = {
 		.name = "sirf-hdmi-card",
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 		.of_match_table = sirf_hdmi_card_of_match,
 	},

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

* [alsa-devel] [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings
  2015-01-15  9:05 ` [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2015-01-15  9:13   ` Barry Song
  0 siblings, 0 replies; 2+ messages in thread
From: Barry Song @ 2015-01-15  9:13 UTC (permalink / raw)
  To: linux-arm-kernel

2015-01-15 17:05 GMT+08:00 kbuild test robot <fengguang.wu@intel.com>:
> sound/soc/sirf/sirf-atlas7-cs42xx8.c:192: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: Yibo Cai <yibo.cai@csr.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

applied to my tree.  thanks, fengguang.
this patch doesn't apply to alsa tree as previous patches are not ready.

> ---
>
>  sirf-atlas7-cs42xx8.c |    1 -
>  1 file changed, 1 deletion(-)
>
> --- a/sound/soc/sirf/sirf-atlas7-cs42xx8.c
> +++ b/sound/soc/sirf/sirf-atlas7-cs42xx8.c
> @@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, sirf_hdmi_card_o
>  static struct platform_driver sirf_hdmi_card_driver = {
>         .driver = {
>                 .name = "sirf-hdmi-card",
> -               .owner = THIS_MODULE,
>                 .pm = &snd_soc_pm_ops,
>                 .of_match_table = sirf_hdmi_card_of_match,
>         },

-barry

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

end of thread, other threads:[~2015-01-15  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201501151731.Zwvnv4Cu%fengguang.wu@intel.com>
2015-01-15  9:05 ` [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-01-15  9:13   ` [alsa-devel] " Barry Song

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).