]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sparc: kernel: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:15 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:15 +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>
15 files changed:
arch/sparc/kernel/apc.c
arch/sparc/kernel/auxio_64.c
arch/sparc/kernel/central.c
arch/sparc/kernel/chmc.c
arch/sparc/kernel/leon_pci_grpci1.c
arch/sparc/kernel/leon_pci_grpci2.c
arch/sparc/kernel/pci_fire.c
arch/sparc/kernel/pci_psycho.c
arch/sparc/kernel/pci_sabre.c
arch/sparc/kernel/pci_schizo.c
arch/sparc/kernel/pci_sun4v.c
arch/sparc/kernel/pmc.c
arch/sparc/kernel/power.c
arch/sparc/kernel/time_32.c
arch/sparc/kernel/time_64.c

index eefda32b595ef6ff1344d21ebc664ca4a7f9f0fa..742f6c4436bf2a9397ce9eb20b073f70d26b044e 100644 (file)
@@ -178,7 +178,6 @@ MODULE_DEVICE_TABLE(of, apc_match);
 static struct platform_driver apc_driver = {
        .driver = {
                .name = "apc",
-               .owner = THIS_MODULE,
                .of_match_table = apc_match,
        },
        .probe          = apc_probe,
index 86e55778e4afa4b68eecfca79628cab52c34cc83..086435c17981ff0586749cb35544812772608a86 100644 (file)
@@ -135,7 +135,6 @@ static struct platform_driver auxio_driver = {
        .probe          = auxio_probe,
        .driver = {
                .name = "auxio",
-               .owner = THIS_MODULE,
                .of_match_table = auxio_match,
        },
 };
index 052b5a44318fd0b4b10c8a5af7e4db5b3c8e12c9..4696958299e9548b5cef448335de26a9b6c46a61 100644 (file)
@@ -152,7 +152,6 @@ static struct platform_driver clock_board_driver = {
        .probe          = clock_board_probe,
        .driver = {
                .name = "clock_board",
-               .owner = THIS_MODULE,
                .of_match_table = clock_board_match,
        },
 };
@@ -257,7 +256,6 @@ static struct platform_driver fhc_driver = {
        .probe          = fhc_probe,
        .driver = {
                .name = "fhc",
-               .owner = THIS_MODULE,
                .of_match_table = fhc_match,
        },
 };
index dbb210d74e21962e58cb5a46ac1ab04fd8c3b1d7..0de4bcb8261f5fe794f2038033e2de6c08de7b27 100644 (file)
@@ -810,7 +810,6 @@ MODULE_DEVICE_TABLE(of, us3mc_match);
 static struct platform_driver us3mc_driver = {
        .driver = {
                .name = "us3mc",
-               .owner = THIS_MODULE,
                .of_match_table = us3mc_match,
        },
        .probe          = us3mc_probe,
index c8bf26edfa7cf578ce4ce4eac513697371abc8b7..3382f7b3eeef2d9a5c74dece68e983501af955c0 100644 (file)
@@ -708,7 +708,6 @@ static struct of_device_id grpci1_of_match[] = {
 static struct platform_driver grpci1_of_driver = {
        .driver = {
                .name = "grpci1",
-               .owner = THIS_MODULE,
                .of_match_table = grpci1_of_match,
        },
        .probe = grpci1_of_probe,
index e433a4d69fe0921487985a698dcfecbbd16e4f92..94e392bdee7dce5c984cc9f6f70307313a8f5a01 100644 (file)
@@ -900,7 +900,6 @@ static struct of_device_id grpci2_of_match[] = {
 static struct platform_driver grpci2_of_driver = {
        .driver = {
                .name = "grpci2",
-               .owner = THIS_MODULE,
                .of_match_table = grpci2_of_match,
        },
        .probe = grpci2_of_probe,
index e60fc6a67e9be7c98e03dca18eeb247d1bc6d419..11a1f0d289d217ec2890e27b8b04f3623b30ed59 100644 (file)
@@ -508,7 +508,6 @@ static const struct of_device_id fire_match[] = {
 static struct platform_driver fire_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = fire_match,
        },
        .probe          = fire_probe,
index c647634ead2bc9e0eab04f6d9558579b93990f75..7dce27b3c761b4e343b3d55158b2f7bd7025537c 100644 (file)
@@ -604,7 +604,6 @@ static const struct of_device_id psycho_match[] = {
 static struct platform_driver psycho_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = psycho_match,
        },
        .probe          = psycho_probe,
index 6f00d27e8dacb348283df0f1b30f00b5755de6d9..00a616ffa35b52ff3d2d22c4a6ec40fdaf471d9b 100644 (file)
@@ -600,7 +600,6 @@ static const struct of_device_id sabre_match[] = {
 static struct platform_driver sabre_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = sabre_match,
        },
        .probe          = sabre_probe,
index 8f76f23dac38ec66b0afea55a5311e612f2459f0..432b3d63fd14ffd5f0970ebfa0f7145584d9dcc6 100644 (file)
@@ -1495,7 +1495,6 @@ static const struct of_device_id schizo_match[] = {
 static struct platform_driver schizo_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = schizo_match,
        },
        .probe          = schizo_probe,
index 49d33b178793c59ca04cd55a60ba5161f9f5e508..47ddbd496a1ea6f697db8635043465eaa5234eea 100644 (file)
@@ -1010,7 +1010,6 @@ static const struct of_device_id pci_sun4v_match[] = {
 static struct platform_driver pci_sun4v_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = pci_sun4v_match,
        },
        .probe          = pci_sun4v_probe,
index 8b7297faca79b18d24fd62cb32529d90ff27ab71..97d123107ecb8bd7d5c8daa1e92e605853b97a5d 100644 (file)
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(of, pmc_match);
 static struct platform_driver pmc_driver = {
        .driver = {
                .name = "pmc",
-               .owner = THIS_MODULE,
                .of_match_table = pmc_match,
        },
        .probe          = pmc_probe,
index 4cb23c41553f1e44f5430d7e85f92c5b0bd70a6f..1836cb965ff80d407afd03463575872bd57c7015 100644 (file)
@@ -63,7 +63,6 @@ static struct platform_driver power_driver = {
        .probe          = power_probe,
        .driver = {
                .name = "power",
-               .owner = THIS_MODULE,
                .of_match_table = power_match,
        },
 };
index 5923d1e4e7c903b9692741e824f487feaf067c8b..2f80d23a0a44964ebff804a2ab4428b9f30cb162 100644 (file)
@@ -322,7 +322,6 @@ static struct platform_driver clock_driver = {
        .probe          = clock_probe,
        .driver = {
                .name = "rtc",
-               .owner = THIS_MODULE,
                .of_match_table = clock_match,
        },
 };
index 59da0c3ea78879f14420946a06095da5d7628289..edbbeb157d4670cc0dabc1e3853e09787de43c8a 100644 (file)
@@ -466,7 +466,6 @@ static struct platform_driver rtc_driver = {
        .probe          = rtc_probe,
        .driver = {
                .name = "rtc",
-               .owner = THIS_MODULE,
                .of_match_table = rtc_match,
        },
 };
@@ -499,7 +498,6 @@ static struct platform_driver bq4802_driver = {
        .probe          = bq4802_probe,
        .driver = {
                .name = "bq4802",
-               .owner = THIS_MODULE,
                .of_match_table = bq4802_match,
        },
 };
@@ -563,7 +561,6 @@ static struct platform_driver mostek_driver = {
        .probe          = mostek_probe,
        .driver = {
                .name = "mostek",
-               .owner = THIS_MODULE,
                .of_match_table = mostek_match,
        },
 };