]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 96e9bc1021170108682b1598119e3ded015e4a08..d99d08eeb9664cff404e50bf03a2379e08d376b7 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 3dffcb2d714ee8034046c1e2f501e21d43e6b68b..e1f1f86f6a95184c73e1c6964e067324e0972510 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 a17c88b74fa1d878d14bc7169a65489cd0394217..70a0b475062b285f9ef85badf0298274e9d2c5a5 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,
        },
 };