Browse Source

usb: c67x00: 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 năm trước cách đây
mục cha
commit
52830d773e
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/usb/c67x00/c67x00-drv.c

+ 0 - 1
drivers/usb/c67x00/c67x00-drv.c

@@ -221,7 +221,6 @@ static struct platform_driver c67x00_driver = {
 	.probe	= c67x00_drv_probe,
 	.remove	= c67x00_drv_remove,
 	.driver	= {
-		.owner = THIS_MODULE,
 		.name = "c67x00",
 	},
 };