OSDN Git Service

acpi: apei: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:16 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:16 +0000 (16:20 +0200)
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>
drivers/acpi/apei/ghes.c

index fc5f780..868ea63 100644 (file)
@@ -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,