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:
Wolfram Sang 2014-10-20 16:20:18 +02:00
Родитель a9add3339b
Коммит 8294adb90b
3 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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,
}, },
}; };