* usb: host: fix platform_no_drv_owner.cocci warnings
@ 2018-11-10 5:48 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-11-10 5:48 UTC (permalink / raw)
To: Al Cooper
Cc: kbuild-all, linux-kernel, Alan Stern, Alban Bedel, Alex Elder,
Andrew Morton, Arnd Bergmann, Avi Fishman,
bcm-kernel-feedback-list, Bjorn Andersson, Chunfeng Yun,
David S. Miller, devicetree, Dmitry Osipenko, Greg Kroah-Hartman,
Gustavo A. R. Silva, Hans de Goede, James Hogan, Johan Hovold,
Kees Cook, linux-usb, Lu Baolu, Mark Rutland, Martin Blumenstingl,
Mathias Nyman, Mathias Nyman, Mauro Carvalho Chehab,
Rishabh Bhatnagar, Rob Herring, Roger Quadros
From: kbuild test robot <fengguang.wu@intel.com>
drivers/usb/host/ehci-brcm.c:258: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: 51b4c79a49f1 ("usb: host: Add ability to build new Broadcom STB USB drivers")
CC: Al Cooper <alcooperx@gmail.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
url: https://github.com/0day-ci/linux/commits/Al-Cooper/Add-XHCI-EHCI-and-OHCI-support-for-Broadcom-STB-SoS-s/20181110-065441
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
ehci-brcm.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/usb/host/ehci-brcm.c
+++ b/drivers/usb/host/ehci-brcm.c
@@ -255,7 +255,6 @@ static struct platform_driver ehci_brcm_
.remove = ehci_brcm_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
- .owner = THIS_MODULE,
.name = "ehci-brcm",
.pm = &ehci_brcm_pm_ops,
.of_match_table = brcm_ehci_of_match,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-10 5:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-10 5:48 usb: host: fix platform_no_drv_owner.cocci warnings kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox