powerpc: sysdev: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:13 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:13 +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/sysdev/axonram.c
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
arch/powerpc/sysdev/fsl_msi.c
arch/powerpc/sysdev/fsl_pmc.c
arch/powerpc/sysdev/fsl_rio.c
arch/powerpc/sysdev/mpic_msgr.c
arch/powerpc/sysdev/pmi.c
arch/powerpc/sysdev/ppc4xx_hsta_msi.c
arch/powerpc/sysdev/ppc4xx_msi.c

index ad56edc39919fb223e21da9a9b75e8a9ba032b4e..f532c92bf99dab7e4e73cd95c9249e7fd0be62c0 100644 (file)
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
        .remove         = axon_ram_remove,
        .driver = {
                .name = AXON_RAM_MODULE_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = axon_ram_device_id,
        },
 };
index 90545ad1626ea2e68d1a1dc22baabc5731c0d2c3..861cebf9c292a4885d67218d0aa58876f1cf348e 100644 (file)
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
 static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
        .driver = {
                .name           = "fsl-l2ctlr",
-               .owner          = THIS_MODULE,
                .of_match_table = mpc85xx_l2ctlr_of_match,
        },
        .probe          = mpc85xx_l2ctlr_of_probe,
index de40b48b460e83a8aaec5168c8a4a1f025d8dd38..e596444fb0241ecb4157c8091c953d2966aa33ba 100644 (file)
@@ -578,7 +578,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
 static struct platform_driver fsl_of_msi_driver = {
        .driver = {
                .name = "fsl-msi",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_of_msi_ids,
        },
        .probe = fsl_of_msi_probe,
index 8cf4aa0e3a2561a0bfffa0abd4a297b1a3c6d74e..1d6fd7c59fe9f20cdf6f07f2512741a0f59be1d1 100644 (file)
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
 static struct platform_driver pmc_driver = {
        .driver = {
                .name = "fsl-pmc",
-               .owner = THIS_MODULE,
                .of_match_table = pmc_ids,
        },
        .probe = pmc_probe,
index c04b718307c89837efe57b1df82c97e204e3cde0..39d32480f0eb564598fef47c680cdeb06f00d30e 100644 (file)
@@ -673,7 +673,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
 static struct platform_driver fsl_of_rio_rpn_driver = {
        .driver = {
                .name = "fsl-of-rio",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_of_rio_rpn_ids,
        },
        .probe = fsl_of_rio_rpn_probe,
index 7bdf3cc741e4fb1998f78808bfaff2ffecc99a4d..3f165d972a0eba6ef2eb6f1f7764d04e83e90c5d 100644 (file)
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
 static struct platform_driver mpic_msgr_driver = {
        .driver = {
                .name = "mpic-msgr",
-               .owner = THIS_MODULE,
                .of_match_table = mpic_msgr_ids,
        },
        .probe = mpic_msgr_probe,
index 13e67d93a7c111f785df07050c5e991104bb0407..8a0b77a3ec0c04c1277b5c9fc4b2e0e7803368d9 100644 (file)
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = {
        .remove         = pmi_of_remove,
        .driver = {
                .name = "pmi",
-               .owner = THIS_MODULE,
                .of_match_table = pmi_match,
        },
 };
index a6a4dbda9078f59f93ea222493a8aeced3a5e22c..f51fcebb559e95e9c2270f63e78a4225b8da5d21 100644 (file)
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = {
        .probe = hsta_msi_probe,
        .driver = {
                .name = "hsta-msi",
-               .owner = THIS_MODULE,
                .of_match_table = hsta_msi_ids,
        },
 };
index 22b5200636e7f90299702d64d6b63ea1a5fe228f..96eaaa02684902b290c248ea3d698ca40c57c38d 100644 (file)
@@ -270,7 +270,6 @@ static struct platform_driver ppc4xx_msi_driver = {
        .remove = ppc4xx_of_msi_remove,
        .driver = {
                   .name = "ppc4xx-msi",
-                  .owner = THIS_MODULE,
                   .of_match_table = ppc4xx_msi_ids,
                   },
 
This page took 0.028672 seconds and 5 git commands to generate.