* [freescale-fslc:pr/78 254/3687] drivers/regulator/pf1550-regulator-rpmsg.c:494:6-11: No need to set .owner here. The core will do it.
@ 2021-01-22 7:37 kernel test robot
2021-01-22 7:37 ` [PATCH] regulator: pf1550-regulator-rpmsg: fix platform_no_drv_owner.cocci warnings kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-01-22 7:37 UTC (permalink / raw
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
tree: https://github.com/Freescale/linux-fslc pr/78
head: 35b10ca99cd3cb57e545010466bbd588987c96f6
commit: 7f9b1ead90416eef34c58c878944ce3c9e4c3576 [254/3687] regulator: pf1550-regulator-rpmsg: add pf1550 rpmsg driver
config: xtensa-randconfig-c003-20210122 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"coccinelle warnings: (new ones prefixed by >>)"
>> drivers/regulator/pf1550-regulator-rpmsg.c:494:6-11: No need to set .owner here. The core will do it.
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19725 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] regulator: pf1550-regulator-rpmsg: fix platform_no_drv_owner.cocci warnings
2021-01-22 7:37 [freescale-fslc:pr/78 254/3687] drivers/regulator/pf1550-regulator-rpmsg.c:494:6-11: No need to set .owner here. The core will do it kernel test robot
@ 2021-01-22 7:37 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-22 7:37 UTC (permalink / raw
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
From: kernel test robot <lkp@intel.com>
drivers/regulator/pf1550-regulator-rpmsg.c:494: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: 7f9b1ead9041 ("regulator: pf1550-regulator-rpmsg: add pf1550 rpmsg driver")
CC: Robin Gong <yibin.gong@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://github.com/Freescale/linux-fslc pr/78
head: 35b10ca99cd3cb57e545010466bbd588987c96f6
commit: 7f9b1ead90416eef34c58c878944ce3c9e4c3576 [254/3687] regulator: pf1550-regulator-rpmsg: add pf1550 rpmsg driver
pf1550-regulator-rpmsg.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/pf1550-regulator-rpmsg.c
+++ b/drivers/regulator/pf1550-regulator-rpmsg.c
@@ -491,7 +491,6 @@ MODULE_DEVICE_TABLE(of, pf1550_regulator
static struct platform_driver pf1550_regulator_driver = {
.driver = {
.name = "pf1550-rpmsg",
- .owner = THIS_MODULE,
.of_match_table = pf1550_regulator_id,
},
.probe = pf1550_regulator_probe,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-22 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-22 7:37 [freescale-fslc:pr/78 254/3687] drivers/regulator/pf1550-regulator-rpmsg.c:494:6-11: No need to set .owner here. The core will do it kernel test robot
2021-01-22 7:37 ` [PATCH] regulator: pf1550-regulator-rpmsg: fix platform_no_drv_owner.cocci warnings kernel test robot
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.