浏览代码

usb: musb: 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 年之前
父节点
当前提交
59a9e07b0b
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/musb/musb_core.c

+ 0 - 1
drivers/usb/musb/musb_core.c

@@ -2362,7 +2362,6 @@ static struct platform_driver musb_driver = {
 	.driver = {
 		.name		= (char *)musb_driver_name,
 		.bus		= &platform_bus_type,
-		.owner		= THIS_MODULE,
 		.pm		= MUSB_DEV_PM_OPS,
 	},
 	.probe		= musb_probe,