Browse Source

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 năm trước cách đây
mục cha
commit
3aa5fed256
2 tập tin đã thay đổi với 0 bổ sung2 xóa
  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