ARM: mach-prima2: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:05 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:05 +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/arm/mach-prima2/pm.c
arch/arm/mach-prima2/rstc.c
arch/arm/mach-prima2/rtciobrg.c

index 96e9bc1..d99d08e 100644 (file)
@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = {
        .probe          = sirfsoc_memc_probe,
        .driver = {
                .name = "sirfsoc-memc",
-               .owner = THIS_MODULE,
                .of_match_table = memc_ids,
        },
 };
index 3dffcb2..e1f1f86 100644 (file)
@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = {
        .probe          = sirfsoc_rstc_probe,
        .driver         = {
                .name   = "sirfsoc_rstc",
-               .owner  = THIS_MODULE,
                .of_match_table = rstc_ids,
        },
 };
index a17c88b..70a0b47 100644 (file)
@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = {
        .probe          = sirfsoc_rtciobrg_probe,
        .driver = {
                .name = "sirfsoc-rtciobrg",
-               .owner = THIS_MODULE,
                .of_match_table = rtciobrg_ids,
        },
 };