From mboxrd@z Thu Jan 1 00:00:00 1970 From: fengguang.wu@intel.com (kbuild test robot) Date: Wed, 26 Aug 2015 19:44:10 +0800 Subject: [PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings In-Reply-To: <201508261907.XaXhY7JN%fengguang.wu@intel.com> References: <201508261907.XaXhY7JN%fengguang.wu@intel.com> Message-ID: <20150826114410.GA186569@ivytown2> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Signed-off-by: Fengguang Wu --- rockchip_max98090.c | 1 - 1 file changed, 1 deletion(-) --- 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, },