From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1979376303687699440==" 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: Tue, 03 Mar 2020 13:35:45 +0800 Message-ID: <20200303053545.GA12628@2f1041bcc618> In-Reply-To: <202003031320.UdC9DWNF%lkp@intel.com> List-Id: --===============1979376303687699440== 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: 55de7272a358 ("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: cc27bcbb02baa2c37ca704ad6230fabed8c2324f commit: 55de7272a35817b6155087957ec793ffdc2435f6 [88/98] 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, --===============1979376303687699440==--