All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <20200706094307.GA30726@9cf1f7d5106f> (raw)
In-Reply-To: <202007061700.nwpPvMzP%lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

From: kernel test robot <lkp@intel.com>

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 <lkp@intel.com>
---

tree:   https://github.com/frank-w/BPI-R2-4.14 5.8-wifi
head:   647f6f36134f2165d37e44dcfb6a77a4671d529c
commit: f63b913be60c8b22005bf3bfd8fcfa16f7957365 [9/14] mt6625l: set MTK_PLATFORM 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_consys_hw.c
+++ b/drivers/misc/mediatek/connectivity/common/conn_soc/mt7623/mtk_wcn_consys_hw.c
@@ -100,7 +100,6 @@ static struct platform_driver mtk_wmt_de
 	.remove = mtk_wmt_remove,
 	.driver = {
 		   .name = "mt7623consys",
-		   .owner = THIS_MODULE,
 		   .of_match_table = of_match_ptr(apwmt_of_ids),
 		   },
 };

  reply	other threads:[~2020-07-06  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06  9:43 [frank-w-bpi-r2-4.14:5.8-wifi 9/14] 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 kernel test robot
2020-07-06  9:43 ` kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-07-06  6:41 [frank-w-bpi-r2-4.14:5.8-wifi 5/11] drivers/misc/mediatek/connectivity/common/common_detect/sdio_detect.c:88:34-35: WARNING: Use ARRAY_SIZE kernel test robot
2020-07-06  6:41 ` [PATCH] mt6625l: fix platform_no_drv_owner.cocci warnings kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200706094307.GA30726@9cf1f7d5106f \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.