OSDN Git Service

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 eeb80e2..c9adbfb 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,