From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1744022831454389313==" 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: Fri, 20 Mar 2020 10:16:22 +0800 Message-ID: <20200320021622.GA45729@9f26ed696032> In-Reply-To: <202003201017.II8le8jJ%lkp@intel.com> List-Id: --===============1744022831454389313== 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: 912e5fb4149f ("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: 6ac31c0a3cce3aa9f6e4551095fc0e64c7ae58c0 commit: 912e5fb4149f3374bcb878634622866a8f71205d [70/82] 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, --===============1744022831454389313==--