cpuidle: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:24 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:24 +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>
drivers/cpuidle/cpuidle-at91.c
drivers/cpuidle/cpuidle-calxeda.c
drivers/cpuidle/cpuidle-clps711x.c
drivers/cpuidle/cpuidle-exynos.c
drivers/cpuidle/cpuidle-kirkwood.c
drivers/cpuidle/cpuidle-mvebu-v7.c
drivers/cpuidle/cpuidle-ux500.c
drivers/cpuidle/cpuidle-zynq.c

index a0774370c6bc41acd38c410beedd55e4592558d0..f63a7d41f4f333442471afd985de197b879d5ec0 100644 (file)
@@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev)
 static struct platform_driver at91_cpuidle_driver = {
        .driver = {
                .name = "cpuidle-at91",
-               .owner = THIS_MODULE,
        },
        .probe = at91_cpuidle_probe,
 };
index 6e51114057d0963605ef1dfc80b231946e1b88f7..11b0466e4a97a176d35f4b773f7d8c2599e1b26f 100644 (file)
@@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver calxeda_cpuidle_plat_driver = {
         .driver = {
                 .name = "cpuidle-calxeda",
-                .owner = THIS_MODULE,
         },
         .probe = calxeda_cpuidle_probe,
 };
index 5243811daa6ea9c5d8ceeeb8cb9454f30c19ecc2..18a7f738050816924a924499e41f78b3b59d6074 100644 (file)
@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver clps711x_cpuidle_driver = {
        .driver = {
                .name   = CLPS711X_CPUIDLE_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe);
index ba9b34b579f3d1a2757004f05a19412fd0c6043b..1b64cc97a6a8a52584187293df692c102ca93a35 100644 (file)
@@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = {
        .probe  = exynos_cpuidle_probe,
        .driver = {
                .name = "exynos_cpuidle",
-               .owner = THIS_MODULE,
        },
 };
 
index 41ba843251b8e843e60ade3e87c1a0d39d444c48..10984b4be6dfb86e66e17779893d340018c485a6 100644 (file)
@@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = {
        .remove = kirkwood_cpuidle_remove,
        .driver = {
                   .name = "kirkwood_cpuidle",
-                  .owner = THIS_MODULE,
                   },
 };
 
index 45371bb16214c7568371d5a7348f53d05137ccff..58fa4e9d704943312e738ec3850a07d5314b48ac 100644 (file)
@@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver armadaxp_cpuidle_plat_driver = {
        .driver = {
                .name = "cpuidle-armada-xp",
-               .owner = THIS_MODULE,
        },
        .probe = mvebu_v7_cpuidle_probe,
 };
@@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver);
 static struct platform_driver armada370_cpuidle_plat_driver = {
        .driver = {
                .name = "cpuidle-armada-370",
-               .owner = THIS_MODULE,
        },
        .probe = mvebu_v7_cpuidle_probe,
 };
@@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver);
 static struct platform_driver armada38x_cpuidle_plat_driver = {
        .driver = {
                .name = "cpuidle-armada-38x",
-               .owner = THIS_MODULE,
        },
        .probe = mvebu_v7_cpuidle_probe,
 };
index 5e35804b1a952393dd84b20aacaf96442eac4d62..56fb729dac6454008f57053b55e63eca82ab3164 100644 (file)
@@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver dbx500_cpuidle_plat_driver = {
        .driver = {
                .name = "cpuidle-dbx500",
-               .owner = THIS_MODULE,
        },
        .probe = dbx500_cpuidle_probe,
 };
index c61b8b2a7c77e1696f5856a0d4ddf30143f6c07d..8396a57790a565cb2df9ca9d5175894ddfd4c7d2 100644 (file)
@@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev)
 static struct platform_driver zynq_cpuidle_driver = {
        .driver = {
                .name = "cpuidle-zynq",
-               .owner = THIS_MODULE,
        },
        .probe = zynq_cpuidle_probe,
 };