aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-platform.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-platform.c
parentusb: gadget: udc: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-566e0269e58cb95aa759c3f11c831536ae3858d2.tar.xz
linux-dev-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-platform.c')
-rw-r--r--drivers/usb/host/ohci-platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
index 4369299064c7..b348483ca174 100644
--- a/drivers/usb/host/ohci-platform.c
+++ b/drivers/usb/host/ohci-platform.c
@@ -364,7 +364,6 @@ static struct platform_driver ohci_platform_driver = {
.remove = ohci_platform_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
- .owner = THIS_MODULE,
.name = "ohci-platform",
.pm = &ohci_platform_pm_ops,
.of_match_table = ohci_platform_ids,