Commit d5dbc024 authored by Wolfram Sang's avatar Wolfram Sang

staging: nvec: 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 848a17ca
...@@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = { ...@@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = {
.remove = tegra_nvec_remove, .remove = tegra_nvec_remove,
.driver = { .driver = {
.name = "nvec", .name = "nvec",
.owner = THIS_MODULE,
.pm = &nvec_pm_ops, .pm = &nvec_pm_ops,
.of_match_table = nvidia_nvec_of_match, .of_match_table = nvidia_nvec_of_match,
} }
......
...@@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = { ...@@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = {
.remove = nvec_kbd_remove, .remove = nvec_kbd_remove,
.driver = { .driver = {
.name = "nvec-kbd", .name = "nvec-kbd",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = { ...@@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = {
.remove = nvec_paz00_remove, .remove = nvec_paz00_remove,
.driver = { .driver = {
.name = "nvec-paz00", .name = "nvec-paz00",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = { ...@@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = {
.remove = nvec_power_remove, .remove = nvec_power_remove,
.driver = { .driver = {
.name = "nvec-power", .name = "nvec-power",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = { ...@@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = {
.remove = nvec_mouse_remove, .remove = nvec_mouse_remove,
.driver = { .driver = {
.name = "nvec-mouse", .name = "nvec-mouse",
.owner = THIS_MODULE,
.pm = &nvec_mouse_pm_ops, .pm = &nvec_mouse_pm_ops,
}, },
}; };
......
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