Commit 3aa5fed2 authored by Wolfram Sang's avatar Wolfram Sang

tty: hvc: 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 c910367f
...@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = { ...@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = {
.remove = hvc_opal_remove, .remove = hvc_opal_remove,
.driver = { .driver = {
.name = hvc_opal_name, .name = hvc_opal_name,
.owner = THIS_MODULE,
.of_match_table = hvc_opal_match, .of_match_table = hvc_opal_match,
} }
}; };
......
...@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = { ...@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = {
.shutdown = hvc_tile_shutdown, .shutdown = hvc_tile_shutdown,
.driver = { .driver = {
.name = "hvc-tile", .name = "hvc-tile",
.owner = THIS_MODULE,
} }
}; };
#endif #endif
......
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