瀏覽代碼

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>
Wolfram Sang 10 年之前
父節點
當前提交
f116125625
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/gadget/udc/bdc/bdc_core.c

+ 0 - 1
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,