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:
Родитель
ceb8ef2e20
Коммит
ea18faf9f6
|
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче