diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:48 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:48 (GMT) |
commit | e55a0137167f5ec61c2e91d05b38a7e7bf513095 (patch) | |
tree | aa120748e2c0d89b8e945922fe57c9bf5a3fcfcf /drivers | |
parent | 7c3e90537b7489a46c4be57ca3f8e2293020e843 (diff) | |
download | linux-e55a0137167f5ec61c2e91d05b38a7e7bf513095.tar.xz |
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')
-rw-r--r-- | drivers/usb/gadget/legacy/hid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/legacy/hid.c b/drivers/usb/gadget/legacy/hid.c index 778613eb..3090aa2 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", }, }; |