Browse Source

acpi: apei: 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 years ago
parent
commit
e61bf8d05a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/acpi/apei/ghes.c

+ 0 - 1
drivers/acpi/apei/ghes.c

@@ -1101,7 +1101,6 @@ static int ghes_remove(struct platform_device *ghes_dev)
 static struct platform_driver ghes_platform_driver = {
 static struct platform_driver ghes_platform_driver = {
 	.driver		= {
 	.driver		= {
 		.name	= "GHES",
 		.name	= "GHES",
-		.owner	= THIS_MODULE,
 	},
 	},
 	.probe		= ghes_probe,
 	.probe		= ghes_probe,
 	.remove		= ghes_remove,
 	.remove		= ghes_remove,