ide: 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
37e5dc1c27
commit
35316c9ffd
6 changed files with 0 additions and 6 deletions
|
@ -586,7 +586,6 @@ static int au_ide_remove(struct platform_device *dev)
|
|||
static struct platform_driver au1200_ide_driver = {
|
||||
.driver = {
|
||||
.name = "au1200-ide",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = au_ide_probe,
|
||||
.remove = au_ide_remove,
|
||||
|
|
|
@ -179,7 +179,6 @@ static struct platform_driver amiga_gayle_ide_driver = {
|
|||
.remove = __exit_p(amiga_gayle_ide_remove),
|
||||
.driver = {
|
||||
.name = "amiga-gayle-ide",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -125,7 +125,6 @@ static int plat_ide_remove(struct platform_device *pdev)
|
|||
static struct platform_driver platform_ide_driver = {
|
||||
.driver = {
|
||||
.name = "pata_platform",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = plat_ide_probe,
|
||||
.remove = plat_ide_remove,
|
||||
|
|
|
@ -386,7 +386,6 @@ MODULE_ALIAS("platform:palm_bk3710");
|
|||
static struct platform_driver platform_bk_driver = {
|
||||
.driver = {
|
||||
.name = "palm_bk3710",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -198,7 +198,6 @@ static int __exit tx4938ide_remove(struct platform_device *pdev)
|
|||
static struct platform_driver tx4938ide_driver = {
|
||||
.driver = {
|
||||
.name = "tx4938ide",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __exit_p(tx4938ide_remove),
|
||||
};
|
||||
|
|
|
@ -618,7 +618,6 @@ static int tx4939ide_resume(struct platform_device *dev)
|
|||
static struct platform_driver tx4939ide_driver = {
|
||||
.driver = {
|
||||
.name = MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = __exit_p(tx4939ide_remove),
|
||||
.resume = tx4939ide_resume,
|
||||
|
|
Loading…
Reference in a new issue