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:
Родитель
a9add3339b
Коммит
8294adb90b
|
@ -1864,7 +1864,6 @@ static int __exit amiga_floppy_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver amiga_floppy_driver = {
|
static struct platform_driver amiga_floppy_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "amiga-floppy",
|
.name = "amiga-floppy",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1082,7 +1082,6 @@ static struct platform_driver mg_disk_driver = {
|
||||||
.remove = mg_remove,
|
.remove = mg_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = MG_DEV_NAME,
|
.name = MG_DEV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &mg_pm,
|
.pm = &mg_pm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -971,7 +971,6 @@ static struct platform_driver swim_driver = {
|
||||||
.remove = swim_remove,
|
.remove = swim_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = CARDNAME,
|
.name = CARDNAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче