block: 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
a9add3339b
commit
8294adb90b
3 changed files with 0 additions and 3 deletions
|
@ -1864,7 +1864,6 @@ static int __exit amiga_floppy_remove(struct platform_device *pdev)
|
|||
static struct platform_driver amiga_floppy_driver = {
|
||||
.driver = {
|
||||
.name = "amiga-floppy",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1082,7 +1082,6 @@ static struct platform_driver mg_disk_driver = {
|
|||
.remove = mg_remove,
|
||||
.driver = {
|
||||
.name = MG_DEV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &mg_pm,
|
||||
}
|
||||
};
|
||||
|
|
|
@ -971,7 +971,6 @@ static struct platform_driver swim_driver = {
|
|||
.remove = swim_remove,
|
||||
.driver = {
|
||||
.name = CARDNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue