]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 8162b0412117a18171cccea8dd7cb61d7b7ef4ac..26bacf0ed146ea289f6f6215f080ac2949740251 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,