public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings
       [not found] <201412212239.7lsK60Dq%fengguang.wu@intel.com>
@ 2014-12-21 14:40 ` kbuild test robot
  2014-12-22 11:44   ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2014-12-21 14:40 UTC (permalink / raw)
  To: Mengdong Lin
  Cc: kbuild-all, Mark Brown, Liam Girdwood, Jaroslav Kysela,
	Takashi Iwai, Vinod Koul, alsa-devel, linux-kernel

sound/soc/intel/cht_bsw_rt5672.c:273: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: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 cht_bsw_rt5672.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/intel/cht_bsw_rt5672.c
+++ b/sound/soc/intel/cht_bsw_rt5672.c
@@ -270,7 +270,6 @@ static int snd_cht_mc_probe(struct platf
 
 static struct platform_driver snd_cht_mc_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "cht-bsw-rt5672",
 		.pm = &snd_soc_pm_ops,
 	},

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

* Re: [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings
  2014-12-21 14:40 ` [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2014-12-22 11:44   ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-12-22 11:44 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Mengdong Lin, kbuild-all, Liam Girdwood, Jaroslav Kysela,
	Takashi Iwai, Vinod Koul, alsa-devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

On Sun, Dec 21, 2014 at 10:40:43PM +0800, kbuild test robot wrote:
> sound/soc/intel/cht_bsw_rt5672.c:273:3-8: No need to set .owner here. The core will do it.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2014-12-22 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201412212239.7lsK60Dq%fengguang.wu@intel.com>
2014-12-21 14:40 ` [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings kbuild test robot
2014-12-22 11:44   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox