Skip to content

Commit

Permalink
ide: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 37e5dc1 commit 35316c9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion drivers/ide/au1xxx-ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/ide/gayle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down
1 change: 0 additions & 1 deletion drivers/ide/ide_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion drivers/ide/palm_bk3710.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ MODULE_ALIAS("platform:palm_bk3710");
static struct platform_driver platform_bk_driver = {
.driver = {
.name = "palm_bk3710",
.owner = THIS_MODULE,
},
};

Expand Down
1 change: 0 additions & 1 deletion drivers/ide/tx4938ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down
1 change: 0 additions & 1 deletion drivers/ide/tx4939ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 35316c9

Please sign in to comment.