From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7696520549099864882==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: [PATCH] omap: mcasp: fix platform_no_drv_owner.cocci warnings Date: Sat, 09 May 2020 23:20:20 +0800 Message-ID: <20200509152020.GA17493@079a9121d0b2> In-Reply-To: <202005092317.l1ypyMzL%lkp@intel.com> List-Id: --===============7696520549099864882== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: kbuild test robot sound/soc/ti/omap-mcasp.c:691:3-8: No need to set .owner here. The core wil= l do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: ccd7889c1dfc ("omap: mcasp: add omap-mcasp.* and add to Kconfig, Mak= efile") CC: Andrey Utkin Signed-off-by: kbuild test robot --- tree: https://github.com/omap-audio/linux-audio peter/linux-next-wip head: 28a4f7200aca92725580b4399cfc33da62c3f676 commit: ccd7889c1dfc17842c3600c2f59f22e1363002a2 [76/89] omap: mcasp: add o= map-mcasp.* and add to Kconfig, Makefile omap-mcasp.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/ti/omap-mcasp.c +++ b/sound/soc/ti/omap-mcasp.c @@ -688,7 +688,6 @@ MODULE_DEVICE_TABLE(of, omap_mcasp_of_ma static struct platform_driver omap_mcasp_driver =3D { .driver =3D { .name =3D "omap-mcasp", - .owner =3D THIS_MODULE, .of_match_table =3D omap_mcasp_of_match, }, .probe =3D asoc_mcasp_probe, --===============7696520549099864882==--