浏览代码

net: can: c_can: 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 年之前
父节点
当前提交
3865fe2619
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/net/can/c_can/c_can_platform.c

+ 0 - 1
drivers/net/can/c_can/c_can_platform.c

@@ -392,7 +392,6 @@ static int c_can_resume(struct platform_device *pdev)
 static struct platform_driver c_can_plat_driver = {
 static struct platform_driver c_can_plat_driver = {
 	.driver = {
 	.driver = {
 		.name = KBUILD_MODNAME,
 		.name = KBUILD_MODNAME,
-		.owner = THIS_MODULE,
 		.of_match_table = c_can_of_table,
 		.of_match_table = c_can_of_table,
 	},
 	},
 	.probe = c_can_plat_probe,
 	.probe = c_can_plat_probe,