summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/at91_udc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:48 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:48 +0400
commit6d3f5f2d895b668ecade4a87d39c9c233b094b8d (patch)
treeaf169b85842850373921dc90bfbab4c4d20ac346 /drivers/usb/gadget/udc/at91_udc.c
parente55a0137167f5ec61c2e91d05b38a7e7bf513095 (diff)
downloadlinux-6d3f5f2d895b668ecade4a87d39c9c233b094b8d.tar.xz
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/at91_udc.c')
-rw-r--r--drivers/usb/gadget/udc/at91_udc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c
index 9968f5331fe4..41f91b4922eb 100644
--- a/drivers/usb/gadget/udc/at91_udc.c
+++ b/drivers/usb/gadget/udc/at91_udc.c
@@ -1972,7 +1972,6 @@ static struct platform_driver at91_udc_driver = {
.resume = at91udc_resume,
.driver = {
.name = (char *) driver_name,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(at91_udc_dt_ids),
},
};