summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 14:21:47 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 14:21:47 (GMT)
commit7c3e90537b7489a46c4be57ca3f8e2293020e843 (patch)
tree8a2a592e202316ae82124db4c24083e345dfcda8
parent5bc879a6a2710557961f0965e8fee383ce16ad3c (diff)
downloadlinux-7c3e90537b7489a46c4be57ca3f8e2293020e843.tar.xz
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 7b5856f..6c65821 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,