From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: sunxi: fix platform_no_drv_owner.cocci warnings Date: Thu, 17 Sep 2015 04:55:55 +0800 Message-ID: <20150916205555.GA207987@athens> References: <201509170447.vzyqPoy7%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id 707C9264F28 for ; Wed, 16 Sep 2015 22:57:34 +0200 (CEST) Content-Disposition: inline In-Reply-To: <201509170447.vzyqPoy7%fengguang.wu@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Emilio =?iso-8859-1?Q?L=F3pez?= Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown , kbuild-all@01.org, Maxime Ripard , linux-arm-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.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=F3pez 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 =3D { .driver =3D { .name =3D "sun4i-codec", - .owner =3D THIS_MODULE, .of_match_table =3D sun4i_codec_of_match, }, .probe =3D sun4i_codec_probe,