OSDN Git Service

powerpc: platforms: 85xx: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:11 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:11 +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>
arch/powerpc/platforms/85xx/sgy_cts1000.c

index 8162b04..26bacf0 100644 (file)
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match);
 static struct platform_driver gpio_halt_driver = {
        .driver = {
                .name           = "gpio-halt",
-               .owner          = THIS_MODULE,
                .of_match_table = gpio_halt_match,
        },
        .probe          = gpio_halt_probe,