From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings Date: Tue, 31 Jan 2017 19:34:11 +0800 Message-ID: <20170131113411.GA32358@lkp-ivb-ep02.lkp.intel.com> References: <201701311952.eSnc2r78%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20170131100552.27949-4-mylene.josserand@free-electrons.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 Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, robh+dt@kernel.org, wens@csie.org, broonie@kernel.org, alexandre.belloni@free-electrons.com, kbuild-all@01.org, maxime.ripard@free-electrons.com, mylene.josserand@free-electrons.com, thomas.petazzoni@free-electrons.com, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org sound/soc/sunxi/sun8i-codec.c:487: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: Myl=E8ne Josserand Signed-off-by: Fengguang Wu --- sun8i-codec.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sunxi/sun8i-codec.c +++ b/sound/soc/sunxi/sun8i-codec.c @@ -484,7 +484,6 @@ static const struct dev_pm_ops sun8i_cod static struct platform_driver sun8i_codec_driver =3D { .driver =3D { .name =3D "sun8i-codec", - .owner =3D THIS_MODULE, .of_match_table =3D sun8i_codec_of_match, .pm =3D &sun8i_codec_pm_ops, },