diff mbox

ASoC: Intel: fix platform_no_drv_owner.cocci warnings

Message ID 20141221144043.GA58352@athens (mailing list archive)
State Accepted
Commit eca80394abc50abae9847b264b0a3120336f590a
Headers show

Commit Message

Fengguang Wu Dec. 21, 2014, 2:40 p.m. UTC
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(-)

Comments

Mark Brown Dec. 22, 2014, 11:44 a.m. UTC | #1
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.
diff mbox

Patch

--- 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,
 	},