aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:13 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:13 -0400
commit4ad7fb261d033e085ea1f3e90bfb1ce47c26a901 (patch)
tree45495fa580e04111e9b25766157c72880eb6b2a3
parent0b06ab798c6abaf6b36d98c176cdadb0cc90e0fa (diff)
powerpc: sysdev: drop owner assignment from platform_drivers
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>
-rw-r--r--arch/powerpc/sysdev/axonram.c1
-rw-r--r--arch/powerpc/sysdev/fsl_85xx_l2ctlr.c1
-rw-r--r--arch/powerpc/sysdev/fsl_msi.c1
-rw-r--r--arch/powerpc/sysdev/fsl_pmc.c1
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c1
-rw-r--r--arch/powerpc/sysdev/mpic_msgr.c1
-rw-r--r--arch/powerpc/sysdev/pmi.c1
-rw-r--r--arch/powerpc/sysdev/ppc4xx_hsta_msi.c1
-rw-r--r--arch/powerpc/sysdev/ppc4xx_msi.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index ad56edc39919..f532c92bf99d 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
326 .remove = axon_ram_remove, 326 .remove = axon_ram_remove,
327 .driver = { 327 .driver = {
328 .name = AXON_RAM_MODULE_NAME, 328 .name = AXON_RAM_MODULE_NAME,
329 .owner = THIS_MODULE,
330 .of_match_table = axon_ram_device_id, 329 .of_match_table = axon_ram_device_id,
331 }, 330 },
332}; 331};
diff --git a/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c b/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
index 90545ad1626e..861cebf9c292 100644
--- a/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
+++ b/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
210static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = { 210static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
211 .driver = { 211 .driver = {
212 .name = "fsl-l2ctlr", 212 .name = "fsl-l2ctlr",
213 .owner = THIS_MODULE,
214 .of_match_table = mpc85xx_l2ctlr_of_match, 213 .of_match_table = mpc85xx_l2ctlr_of_match,
215 }, 214 },
216 .probe = mpc85xx_l2ctlr_of_probe, 215 .probe = mpc85xx_l2ctlr_of_probe,
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index de40b48b460e..e596444fb024 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -578,7 +578,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
578static struct platform_driver fsl_of_msi_driver = { 578static struct platform_driver fsl_of_msi_driver = {
579 .driver = { 579 .driver = {
580 .name = "fsl-msi", 580 .name = "fsl-msi",
581 .owner = THIS_MODULE,
582 .of_match_table = fsl_of_msi_ids, 581 .of_match_table = fsl_of_msi_ids,
583 }, 582 },
584 .probe = fsl_of_msi_probe, 583 .probe = fsl_of_msi_probe,
diff --git a/arch/powerpc/sysdev/fsl_pmc.c b/arch/powerpc/sysdev/fsl_pmc.c
index 8cf4aa0e3a25..1d6fd7c59fe9 100644
--- a/arch/powerpc/sysdev/fsl_pmc.c
+++ b/arch/powerpc/sysdev/fsl_pmc.c
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
80static struct platform_driver pmc_driver = { 80static struct platform_driver pmc_driver = {
81 .driver = { 81 .driver = {
82 .name = "fsl-pmc", 82 .name = "fsl-pmc",
83 .owner = THIS_MODULE,
84 .of_match_table = pmc_ids, 83 .of_match_table = pmc_ids,
85 }, 84 },
86 .probe = pmc_probe, 85 .probe = pmc_probe,
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index c04b718307c8..39d32480f0eb 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -673,7 +673,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
673static struct platform_driver fsl_of_rio_rpn_driver = { 673static struct platform_driver fsl_of_rio_rpn_driver = {
674 .driver = { 674 .driver = {
675 .name = "fsl-of-rio", 675 .name = "fsl-of-rio",
676 .owner = THIS_MODULE,
677 .of_match_table = fsl_of_rio_rpn_ids, 676 .of_match_table = fsl_of_rio_rpn_ids,
678 }, 677 },
679 .probe = fsl_of_rio_rpn_probe, 678 .probe = fsl_of_rio_rpn_probe,
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c
index 7bdf3cc741e4..3f165d972a0e 100644
--- a/arch/powerpc/sysdev/mpic_msgr.c
+++ b/arch/powerpc/sysdev/mpic_msgr.c
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
270static struct platform_driver mpic_msgr_driver = { 270static struct platform_driver mpic_msgr_driver = {
271 .driver = { 271 .driver = {
272 .name = "mpic-msgr", 272 .name = "mpic-msgr",
273 .owner = THIS_MODULE,
274 .of_match_table = mpic_msgr_ids, 273 .of_match_table = mpic_msgr_ids,
275 }, 274 },
276 .probe = mpic_msgr_probe, 275 .probe = mpic_msgr_probe,
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c
index 13e67d93a7c1..8a0b77a3ec0c 100644
--- a/arch/powerpc/sysdev/pmi.c
+++ b/arch/powerpc/sysdev/pmi.c
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = {
210 .remove = pmi_of_remove, 210 .remove = pmi_of_remove,
211 .driver = { 211 .driver = {
212 .name = "pmi", 212 .name = "pmi",
213 .owner = THIS_MODULE,
214 .of_match_table = pmi_match, 213 .of_match_table = pmi_match,
215 }, 214 },
216}; 215};
diff --git a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
index a6a4dbda9078..f51fcebb559e 100644
--- a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = {
197 .probe = hsta_msi_probe, 197 .probe = hsta_msi_probe,
198 .driver = { 198 .driver = {
199 .name = "hsta-msi", 199 .name = "hsta-msi",
200 .owner = THIS_MODULE,
201 .of_match_table = hsta_msi_ids, 200 .of_match_table = hsta_msi_ids,
202 }, 201 },
203}; 202};
diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
index 22b5200636e7..96eaaa026849 100644
--- a/arch/powerpc/sysdev/ppc4xx_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_msi.c
@@ -270,7 +270,6 @@ static struct platform_driver ppc4xx_msi_driver = {
270 .remove = ppc4xx_of_msi_remove, 270 .remove = ppc4xx_of_msi_remove,
271 .driver = { 271 .driver = {
272 .name = "ppc4xx-msi", 272 .name = "ppc4xx-msi",
273 .owner = THIS_MODULE,
274 .of_match_table = ppc4xx_msi_ids, 273 .of_match_table = ppc4xx_msi_ids,
275 }, 274 },
276 275