From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6976525930242094305==" 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 14:41:10 +0800 Message-ID: <20200706064110.GA30975@9cf1f7d5106f> In-Reply-To: <202007061455.Nn14Bg8E%lkp@intel.com> List-Id: --===============6976525930242094305== 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/common_detect/wmt_detect.c:269:3-= 8: 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: 5a3d075a983c ("mt6625l: include wifi-folder") Signed-off-by: kernel test robot --- tree: https://github.com/frank-w/BPI-R2-4.14 5.8-wifi head: 4b8951570a4f2ef564d134f5aa8779fd067af1c9 commit: 5a3d075a983c166a2a4294c272b47698e24c97c6 [5/11] mt6625l: include wi= fi-folder wmt_detect.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.c +++ b/drivers/misc/mediatek/connectivity/common/common_detect/wmt_detect.c @@ -266,7 +266,6 @@ static struct platform_driver wmt_detect .probe =3D wmt_detect_probe, .remove =3D wmt_detect_remove, .driver =3D { - .owner =3D THIS_MODULE, .name =3D "mediatek,connectivity-combo", .of_match_table =3D wmt_detect_match, }, --===============6976525930242094305==--