Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
e61bf8d05a
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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 = {
 	.driver		= {
 		.name	= "GHES",
-		.owner	= THIS_MODULE,
 	},
 	.probe		= ghes_probe,
 	.remove		= ghes_remove,