From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3613949172467616735==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [PATCH] mt6625l: fix platform_no_drv_owner.cocci warnings Date: Mon, 06 Jul 2020 17:43:07 +0800 Message-ID: <20200706094307.GA30726@9cf1f7d5106f> In-Reply-To: <202007061700.nwpPvMzP%lkp@intel.com> List-Id: --===============3613949172467616735== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: kernel test robot drivers/misc/mediatek/connectivity/common/conn_soc/mt7623/mtk_wcn_consys_hw= .c:103:6-11: 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 Fixes: f63b913be60c ("mt6625l: set MTK_PLATFORM in Makefile if none is set = via *config") Signed-off-by: kernel test robot --- tree: https://github.com/frank-w/BPI-R2-4.14 5.8-wifi head: 647f6f36134f2165d37e44dcfb6a77a4671d529c commit: f63b913be60c8b22005bf3bfd8fcfa16f7957365 [9/14] mt6625l: set MTK_PL= ATFORM in Makefile if none is set via *config mtk_wcn_consys_hw.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/misc/mediatek/connectivity/common/conn_soc/mt7623/mtk_wcn_con= sys_hw.c +++ b/drivers/misc/mediatek/connectivity/common/conn_soc/mt7623/mtk_wcn_con= sys_hw.c @@ -100,7 +100,6 @@ static struct platform_driver mtk_wmt_de .remove =3D mtk_wmt_remove, .driver =3D { .name =3D "mt7623consys", - .owner =3D THIS_MODULE, .of_match_table =3D of_match_ptr(apwmt_of_ids), }, }; --===============3613949172467616735==--