From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4089027404379451128==" MIME-Version: 1.0 From: kernel test robot Subject: [PATCH] omap: mcasp: fix platform_no_drv_owner.cocci warnings Date: Sun, 13 Dec 2020 05:00:12 +0800 Message-ID: <20201212210012.GA19104@02354e663adc> In-Reply-To: <202012130506.loXUmtHK-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============4089027404379451128== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: kbuild-all(a)lists.01.org TO: Peter Ujfalusi From: kernel 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: c91a001a1b2f ("omap: mcasp: add omap-mcasp.* and add to Kconfig, Mak= efile") CC: Andrey Utkin Reported-by: kernel test robot Signed-off-by: kernel test robot --- tree: https://github.com/omap-audio/linux-audio peter/linux-next-wip head: 616dbf432c14c411575f7d278d2215534464e632 commit: c91a001a1b2f93d4e3d72cd48efcd9a868a6407e [79/94] omap: mcasp: add o= map-mcasp.* and add to Kconfig, Makefile :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago 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, --===============4089027404379451128==--