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>
This commit is contained in:
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
|
|||||||
.remove = axon_ram_remove,
|
.remove = axon_ram_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = AXON_RAM_MODULE_NAME,
|
.name = AXON_RAM_MODULE_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = axon_ram_device_id,
|
.of_match_table = axon_ram_device_id,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
|
|||||||
static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
|
static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "fsl-l2ctlr",
|
.name = "fsl-l2ctlr",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mpc85xx_l2ctlr_of_match,
|
.of_match_table = mpc85xx_l2ctlr_of_match,
|
||||||
},
|
},
|
||||||
.probe = mpc85xx_l2ctlr_of_probe,
|
.probe = mpc85xx_l2ctlr_of_probe,
|
||||||
|
|||||||
@@ -578,7 +578,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
|
|||||||
static struct platform_driver fsl_of_msi_driver = {
|
static struct platform_driver fsl_of_msi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "fsl-msi",
|
.name = "fsl-msi",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = fsl_of_msi_ids,
|
.of_match_table = fsl_of_msi_ids,
|
||||||
},
|
},
|
||||||
.probe = fsl_of_msi_probe,
|
.probe = fsl_of_msi_probe,
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
|
|||||||
static struct platform_driver pmc_driver = {
|
static struct platform_driver pmc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "fsl-pmc",
|
.name = "fsl-pmc",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = pmc_ids,
|
.of_match_table = pmc_ids,
|
||||||
},
|
},
|
||||||
.probe = pmc_probe,
|
.probe = pmc_probe,
|
||||||
|
|||||||
@@ -673,7 +673,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
|
|||||||
static struct platform_driver fsl_of_rio_rpn_driver = {
|
static struct platform_driver fsl_of_rio_rpn_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "fsl-of-rio",
|
.name = "fsl-of-rio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = fsl_of_rio_rpn_ids,
|
.of_match_table = fsl_of_rio_rpn_ids,
|
||||||
},
|
},
|
||||||
.probe = fsl_of_rio_rpn_probe,
|
.probe = fsl_of_rio_rpn_probe,
|
||||||
|
|||||||
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
|
|||||||
static struct platform_driver mpic_msgr_driver = {
|
static struct platform_driver mpic_msgr_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mpic-msgr",
|
.name = "mpic-msgr",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mpic_msgr_ids,
|
.of_match_table = mpic_msgr_ids,
|
||||||
},
|
},
|
||||||
.probe = mpic_msgr_probe,
|
.probe = mpic_msgr_probe,
|
||||||
|
|||||||
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = {
|
|||||||
.remove = pmi_of_remove,
|
.remove = pmi_of_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pmi",
|
.name = "pmi",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = pmi_match,
|
.of_match_table = pmi_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = {
|
|||||||
.probe = hsta_msi_probe,
|
.probe = hsta_msi_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hsta-msi",
|
.name = "hsta-msi",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = hsta_msi_ids,
|
.of_match_table = hsta_msi_ids,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -270,7 +270,6 @@ static struct platform_driver ppc4xx_msi_driver = {
|
|||||||
.remove = ppc4xx_of_msi_remove,
|
.remove = ppc4xx_of_msi_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ppc4xx-msi",
|
.name = "ppc4xx-msi",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ppc4xx_msi_ids,
|
.of_match_table = ppc4xx_msi_ids,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user