summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:47 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:47 +0200
commit7c3e90537b7489a46c4be57ca3f8e2293020e843 (patch)
tree8a2a592e202316ae82124db4c24083e345dfcda8
parent5bc879a6a2710557961f0965e8fee383ce16ad3c (diff)
downloadblackbird-op-linux-7c3e90537b7489a46c4be57ca3f8e2293020e843.tar.gz
blackbird-op-linux-7c3e90537b7489a46c4be57ca3f8e2293020e843.zip
usb: dwc2: 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>
-rw-r--r--drivers/usb/dwc2/gadget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 7b5856fadd93..6c658219706b 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -3684,7 +3684,6 @@ MODULE_DEVICE_TABLE(of, s3c_hsotg_of_ids);
static struct platform_driver s3c_hsotg_driver = {
.driver = {
.name = "s3c-hsotg",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(s3c_hsotg_of_ids),
},
.probe = s3c_hsotg_probe,
OpenPOWER on IntegriCloud