summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-nxp.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:49 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:49 +0200
commit566e0269e58cb95aa759c3f11c831536ae3858d2 (patch)
treee212a11014a8a007d22d854396838ba481206ba9 /drivers/usb/host/ohci-nxp.c
parentusb: gadget: udc: drop owner assignment from platform_drivers (diff)
downloadlinux-566e0269e58cb95aa759c3f11c831536ae3858d2.tar.xz
linux-566e0269e58cb95aa759c3f11c831536ae3858d2.zip
usb: host: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/usb/host/ohci-nxp.c')
-rw-r--r--drivers/usb/host/ohci-nxp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c
index ba180ed0f81c..d9f0481d7258 100644
--- a/drivers/usb/host/ohci-nxp.c
+++ b/drivers/usb/host/ohci-nxp.c
@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_nxp_match);
static struct platform_driver ohci_hcd_nxp_driver = {
.driver = {
.name = "usb-ohci",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(ohci_hcd_nxp_match),
},
.probe = ohci_hcd_nxp_probe,