linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings
       [not found] <201509170447.vzyqPoy7%fengguang.wu@intel.com>
@ 2015-09-16 20:55 ` kbuild test robot
  2015-09-17 13:32   ` Maxime Ripard
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2015-09-16 20:55 UTC (permalink / raw)
  To: linux-arm-kernel

sound/soc/sunxi/sun4i-codec.c:708: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: Emilio L?pez <emilio@elopez.com.ar>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sun4i-codec.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -705,7 +705,6 @@ static int sun4i_codec_remove(struct pla
 static struct platform_driver sun4i_codec_driver = {
 	.driver = {
 		.name = "sun4i-codec",
-		.owner = THIS_MODULE,
 		.of_match_table = sun4i_codec_of_match,
 	},
 	.probe = sun4i_codec_probe,

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

* [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings
  2015-09-16 20:55 ` [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2015-09-17 13:32   ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2015-09-17 13:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Sep 17, 2015 at 04:55:55AM +0800, kbuild test robot wrote:
> sound/soc/sunxi/sun4i-codec.c:708: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: Emilio L?pez <emilio@elopez.com.ar>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150917/a7cd9e69/attachment.sig>

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

* [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings
  2015-09-30 17:50 ` codekipper at gmail.com
@ 2015-09-30 18:26   ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2015-09-30 18:26 UTC (permalink / raw)
  To: linux-arm-kernel

sound/soc/sunxi/sun4i-spdif.c:599: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: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sun4i-spdif.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -596,7 +596,6 @@ static int sun4i_spdif_remove(struct pla
 static struct platform_driver sun4i_spdif_driver = {
 	.driver		= {
 		.name	= "sun4i-spdif",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(sun4i_spdif_of_match),
 	},
 	.probe		= sun4i_spdif_probe,

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

* [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings
  2016-02-02 14:49 ` codekipper at gmail.com
@ 2016-02-02 16:01   ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2016-02-02 16:01 UTC (permalink / raw)
  To: linux-arm-kernel

sound/soc/sunxi/sun4i-spdif.c:572: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: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sun4i-spdif.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -569,7 +569,6 @@ static const struct dev_pm_ops sun4i_spd
 static struct platform_driver sun4i_spdif_driver = {
 	.driver		= {
 		.name	= "sun4i-spdif",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(sun4i_spdif_of_match),
 		.pm	= &sun4i_spdif_pm,
 	},

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

end of thread, other threads:[~2016-02-02 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201509170447.vzyqPoy7%fengguang.wu@intel.com>
2015-09-16 20:55 ` [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-09-17 13:32   ` Maxime Ripard
2015-09-30 18:26 [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block kbuild test robot
2015-09-30 17:50 ` codekipper at gmail.com
2015-09-30 18:26   ` [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2016-02-02 16:01 [PATCH v3 2/2] ASOC: sunxi: Add support for the SPDIF block kbuild test robot
2016-02-02 14:49 ` codekipper at gmail.com
2016-02-02 16:01   ` [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings kbuild test robot

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