summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:48 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:48 +0200
commite55a0137167f5ec61c2e91d05b38a7e7bf513095 (patch)
treeaa120748e2c0d89b8e945922fe57c9bf5a3fcfcf /drivers/usb/gadget
parent7c3e90537b7489a46c4be57ca3f8e2293020e843 (diff)
downloadtalos-obmc-linux-e55a0137167f5ec61c2e91d05b38a7e7bf513095.tar.gz
talos-obmc-linux-e55a0137167f5ec61c2e91d05b38a7e7bf513095.zip
usb: gadget: legacy: 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/gadget')
-rw-r--r--drivers/usb/gadget/legacy/hid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/legacy/hid.c b/drivers/usb/gadget/legacy/hid.c
index 778613eb37af..3090aa2aa977 100644
--- a/drivers/usb/gadget/legacy/hid.c
+++ b/drivers/usb/gadget/legacy/hid.c
@@ -231,7 +231,6 @@ static __refdata struct usb_composite_driver hidg_driver = {
static struct platform_driver hidg_plat_driver = {
.remove = hidg_plat_driver_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "hidg",
},
};
OpenPOWER on IntegriCloud