Skip to content

Commit 4ad7fb2

Browse files
author
Wolfram Sang
committed
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>
1 parent 0b06ab7 commit 4ad7fb2

9 files changed

Lines changed: 0 additions & 9 deletions

File tree

‎arch/powerpc/sysdev/axonram.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
326326
.remove = axon_ram_remove,
327327
.driver = {
328328
.name = AXON_RAM_MODULE_NAME,
329-
.owner = THIS_MODULE,
330329
.of_match_table = axon_ram_device_id,
331330
},
332331
};

‎arch/powerpc/sysdev/fsl_85xx_l2ctlr.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
210210
static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
211211
.driver = {
212212
.name = "fsl-l2ctlr",
213-
.owner = THIS_MODULE,
214213
.of_match_table = mpc85xx_l2ctlr_of_match,
215214
},
216215
.probe = mpc85xx_l2ctlr_of_probe,

‎arch/powerpc/sysdev/fsl_msi.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
578578
static struct platform_driver fsl_of_msi_driver = {
579579
.driver = {
580580
.name = "fsl-msi",
581-
.owner = THIS_MODULE,
582581
.of_match_table = fsl_of_msi_ids,
583582
},
584583
.probe = fsl_of_msi_probe,

‎arch/powerpc/sysdev/fsl_pmc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
8080
static struct platform_driver pmc_driver = {
8181
.driver = {
8282
.name = "fsl-pmc",
83-
.owner = THIS_MODULE,
8483
.of_match_table = pmc_ids,
8584
},
8685
.probe = pmc_probe,

‎arch/powerpc/sysdev/fsl_rio.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
673673
static struct platform_driver fsl_of_rio_rpn_driver = {
674674
.driver = {
675675
.name = "fsl-of-rio",
676-
.owner = THIS_MODULE,
677676
.of_match_table = fsl_of_rio_rpn_ids,
678677
},
679678
.probe = fsl_of_rio_rpn_probe,

‎arch/powerpc/sysdev/mpic_msgr.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
270270
static struct platform_driver mpic_msgr_driver = {
271271
.driver = {
272272
.name = "mpic-msgr",
273-
.owner = THIS_MODULE,
274273
.of_match_table = mpic_msgr_ids,
275274
},
276275
.probe = mpic_msgr_probe,

‎arch/powerpc/sysdev/pmi.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = {
210210
.remove = pmi_of_remove,
211211
.driver = {
212212
.name = "pmi",
213-
.owner = THIS_MODULE,
214213
.of_match_table = pmi_match,
215214
},
216215
};

‎arch/powerpc/sysdev/ppc4xx_hsta_msi.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = {
197197
.probe = hsta_msi_probe,
198198
.driver = {
199199
.name = "hsta-msi",
200-
.owner = THIS_MODULE,
201200
.of_match_table = hsta_msi_ids,
202201
},
203202
};

‎arch/powerpc/sysdev/ppc4xx_msi.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ static struct platform_driver ppc4xx_msi_driver = {
270270
.remove = ppc4xx_of_msi_remove,
271271
.driver = {
272272
.name = "ppc4xx-msi",
273-
.owner = THIS_MODULE,
274273
.of_match_table = ppc4xx_msi_ids,
275274
},
276275

0 commit comments

Comments
 (0)