summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-spear.c
diff options
context:
space:
mode:
authorWolfram Sang2014-10-20 16:21:49 +0200
committerWolfram Sang2014-10-20 16:21:49 +0200
commit566e0269e58cb95aa759c3f11c831536ae3858d2 (patch)
treee212a11014a8a007d22d854396838ba481206ba9 /drivers/usb/host/ohci-spear.c
parentusb: gadget: udc: drop owner assignment from platform_drivers (diff)
downloadkernel-qcow2-linux-566e0269e58cb95aa759c3f11c831536ae3858d2.tar.gz
kernel-qcow2-linux-566e0269e58cb95aa759c3f11c831536ae3858d2.tar.xz
kernel-qcow2-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-spear.c')
-rw-r--r--drivers/usb/host/ohci-spear.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c
index 8d5876692e7c..062e173d8848 100644
--- a/drivers/usb/host/ohci-spear.c
+++ b/drivers/usb/host/ohci-spear.c
@@ -176,7 +176,6 @@ static struct platform_driver spear_ohci_hcd_driver = {
.resume = spear_ohci_hcd_drv_resume,
#endif
.driver = {
- .owner = THIS_MODULE,
.name = "spear-ohci",
.of_match_table = spear_ohci_id_table,
},