From mboxrd@z Thu Jan 1 00:00:00 1970 From: fengguang.wu@intel.com (kbuild test robot) Date: Thu, 17 Sep 2015 04:55:55 +0800 Subject: [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings In-Reply-To: <201509170447.vzyqPoy7%fengguang.wu@intel.com> References: <201509170447.vzyqPoy7%fengguang.wu@intel.com> Message-ID: <20150916205555.GA207987@athens> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org sound/soc/sunxi/sun4i-codec.c:708: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: Emilio L?pez Signed-off-by: Fengguang Wu --- sun4i-codec.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -705,7 +705,6 @@ static int sun4i_codec_remove(struct pla static struct platform_driver sun4i_codec_driver = { .driver = { .name = "sun4i-codec", - .owner = THIS_MODULE, .of_match_table = sun4i_codec_of_match, }, .probe = sun4i_codec_probe,