summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-12-22 00:14:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 23:31:53 +0300
commitf1161256258e8ea24c3e5846abfdaccc508134b4 (patch)
treeaf835d5b2d2e1794bbad0879004719d531b70a85 /drivers
parenta95cfa6b86a19a822877e75d5a73b2a95d249e70 (diff)
downloadlinux-f1161256258e8ea24c3e5846abfdaccc508134b4.tar.xz
usb: gadget: udc: bdc: drop owner assignment from platform_drivers
This 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/udc/bdc/bdc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index c6dfef8c7bbc..5c8f4effb62a 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
@@ -521,7 +521,6 @@ static int bdc_remove(struct platform_device *pdev)
static struct platform_driver bdc_driver = {
.driver = {
.name = BRCM_BDC_NAME,
- .owner = THIS_MODULE
},
.probe = bdc_probe,
.remove = bdc_remove,