Commit ff3ad09b authored by Wolfram Sang's avatar Wolfram Sang

macintosh: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 81902d5f
...@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver = ...@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver =
{ {
.driver = { .driver = {
.name = "smu", .name = "smu",
.owner = THIS_MODULE,
.of_match_table = smu_platform_match, .of_match_table = smu_platform_match,
}, },
.probe = smu_platform_probe, .probe = smu_platform_probe,
......
...@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver = ...@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver =
{ {
.driver = { .driver = {
.name = "temperature", .name = "temperature",
.owner = THIS_MODULE,
.of_match_table = fcu_match, .of_match_table = fcu_match,
}, },
.probe = fcu_of_probe, .probe = fcu_of_probe,
......
...@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{ ...@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{
static struct platform_driver therm_of_driver = { static struct platform_driver therm_of_driver = {
.driver = { .driver = {
.name = "temperature", .name = "temperature",
.owner = THIS_MODULE,
.of_match_table = therm_of_match, .of_match_table = therm_of_match,
}, },
.probe = therm_of_probe, .probe = therm_of_probe,
......
...@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = { ...@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = {
.remove = wf_smu_remove, .remove = wf_smu_remove,
.driver = { .driver = {
.name = "windfarm", .name = "windfarm",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = { ...@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = {
.remove = wf_smu_remove, .remove = wf_smu_remove,
.driver = { .driver = {
.name = "windfarm", .name = "windfarm",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment