浏览代码

tty: hvc: 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 年之前
父节点
当前提交
3aa5fed256
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0 1
      drivers/tty/hvc/hvc_opal.c
  2. 0 1
      drivers/tty/hvc/hvc_tile.c

+ 0 - 1
drivers/tty/hvc/hvc_opal.c

@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = {
 	.remove		= hvc_opal_remove,
 	.driver		= {
 		.name	= hvc_opal_name,
-		.owner	= THIS_MODULE,
 		.of_match_table	= hvc_opal_match,
 	}
 };

+ 0 - 1
drivers/tty/hvc/hvc_tile.c

@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = {
 	.shutdown	= hvc_tile_shutdown,
 	.driver         = {
 		.name   = "hvc-tile",
-		.owner  = THIS_MODULE,
 	}
 };
 #endif