From: kbuild test robot <[email protected]>
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 <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
---
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,