瀏覽代碼

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

+ 0 - 1
drivers/usb/misc/usb3503.c

@@ -405,7 +405,6 @@ static struct platform_driver usb3503_platform_driver = {
 	.driver = {
 	.driver = {
 		.name = USB3503_I2C_NAME,
 		.name = USB3503_I2C_NAME,
 		.of_match_table = of_match_ptr(usb3503_of_match),
 		.of_match_table = of_match_ptr(usb3503_of_match),
-		.owner = THIS_MODULE,
 	},
 	},
 	.probe		= usb3503_platform_probe,
 	.probe		= usb3503_platform_probe,
 };
 };