diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:48 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:48 +0200 |
commit | 6d3f5f2d895b668ecade4a87d39c9c233b094b8d (patch) | |
tree | af169b85842850373921dc90bfbab4c4d20ac346 /drivers/usb/gadget/udc/dummy_hcd.c | |
parent | e55a0137167f5ec61c2e91d05b38a7e7bf513095 (diff) | |
download | op-kernel-dev-6d3f5f2d895b668ecade4a87d39c9c233b094b8d.zip op-kernel-dev-6d3f5f2d895b668ecade4a87d39c9c233b094b8d.tar.gz |
usb: gadget: udc: 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/udc/dummy_hcd.c')
-rw-r--r-- | drivers/usb/gadget/udc/dummy_hcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c index 81dc595..bd3fc0e 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c @@ -1042,7 +1042,6 @@ static struct platform_driver dummy_udc_driver = { .resume = dummy_udc_resume, .driver = { .name = (char *) gadget_name, - .owner = THIS_MODULE, }, }; @@ -2612,7 +2611,6 @@ static struct platform_driver dummy_hcd_driver = { .resume = dummy_hcd_resume, .driver = { .name = (char *) driver_name, - .owner = THIS_MODULE, }, }; |