mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
mtd: devices: 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:
parent
bb0d20e794
commit
c37c1e1605
4 changed files with 0 additions and 4 deletions
|
@ -329,7 +329,6 @@ static struct platform_driver bcma_sflash_driver = {
|
||||||
.remove = bcm47xxsflash_bcma_remove,
|
.remove = bcm47xxsflash_bcma_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bcma_sflash",
|
.name = "bcma_sflash",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2129,7 +2129,6 @@ static int __exit docg3_release(struct platform_device *pdev)
|
||||||
static struct platform_driver g3_driver = {
|
static struct platform_driver g3_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "docg3",
|
.name = "docg3",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.suspend = docg3_suspend,
|
.suspend = docg3_suspend,
|
||||||
.resume = docg3_resume,
|
.resume = docg3_resume,
|
||||||
|
|
|
@ -1079,7 +1079,6 @@ static struct platform_driver spear_smi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "smi",
|
.name = "smi",
|
||||||
.bus = &platform_bus_type,
|
.bus = &platform_bus_type,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(spear_smi_id_table),
|
.of_match_table = of_match_ptr(spear_smi_id_table),
|
||||||
.pm = &spear_smi_pm_ops,
|
.pm = &spear_smi_pm_ops,
|
||||||
},
|
},
|
||||||
|
|
|
@ -2069,7 +2069,6 @@ static struct platform_driver stfsm_driver = {
|
||||||
.remove = stfsm_remove,
|
.remove = stfsm_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "st-spi-fsm",
|
.name = "st-spi-fsm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = stfsm_match,
|
.of_match_table = stfsm_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue