diff mbox

ASoC: rockchip: fix platform_no_drv_owner.cocci warnings

Message ID 20150826114410.GA186569@ivytown2 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Aug. 26, 2015, 11:44 a.m. UTC
sound/soc/rockchip/rockchip_max98090.c:225: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: zhengxing <zhengxing@rock-chips.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 rockchip_max98090.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

--- a/sound/soc/rockchip/rockchip_max98090.c
+++ b/sound/soc/rockchip/rockchip_max98090.c
@@ -222,7 +222,6 @@  static struct platform_driver snd_rk_mc_
 	.probe = snd_rk_mc_probe,
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 		.of_match_table = rockchip_max98090_of_match,
 	},