diff mbox

ASoC: rockchip: fix platform_no_drv_owner.cocci warnings

Message ID 20170123152443.GA42540@lkp-nex06.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot Jan. 23, 2017, 3:24 p.m. UTC
sound/soc/rockchip/rk3288_hdmi_analog.c:288: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: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

Patch

--- a/sound/soc/rockchip/rk3288_hdmi_analog.c
+++ b/sound/soc/rockchip/rk3288_hdmi_analog.c
@@ -285,7 +285,6 @@  static struct platform_driver rockchip_s
 	.probe = snd_rk_mc_probe,
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 		.of_match_table = rockchip_sound_of_match,
 	},