ARM: mach-prima2: 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:05 +02:00
Родитель ceb8ef2e20
Коммит ea18faf9f6
3 изменённых файлов: 0 добавлений и 3 удалений

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

@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = {
.probe = sirfsoc_memc_probe, .probe = sirfsoc_memc_probe,
.driver = { .driver = {
.name = "sirfsoc-memc", .name = "sirfsoc-memc",
.owner = THIS_MODULE,
.of_match_table = memc_ids, .of_match_table = memc_ids,
}, },
}; };

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

@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = {
.probe = sirfsoc_rstc_probe, .probe = sirfsoc_rstc_probe,
.driver = { .driver = {
.name = "sirfsoc_rstc", .name = "sirfsoc_rstc",
.owner = THIS_MODULE,
.of_match_table = rstc_ids, .of_match_table = rstc_ids,
}, },
}; };

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

@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = {
.probe = sirfsoc_rtciobrg_probe, .probe = sirfsoc_rtciobrg_probe,
.driver = { .driver = {
.name = "sirfsoc-rtciobrg", .name = "sirfsoc-rtciobrg",
.owner = THIS_MODULE,
.of_match_table = rtciobrg_ids, .of_match_table = rtciobrg_ids,
}, },
}; };