]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: platforms: 83xx: 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/83xx/suspend.c

index eeb80e25214df75acbdb83696fad8e5503aac161..c9adbfb65006e153aa8f6caf0d0fd5b396cf2997 100644 (file)
@@ -435,7 +435,6 @@ static const struct of_device_id pmc_match[] = {
 static struct platform_driver pmc_driver = {
        .driver = {
                .name = "mpc83xx-pmc",
-               .owner = THIS_MODULE,
                .of_match_table = pmc_match,
        },
        .probe = pmc_probe,