Commit 3865fe26 authored by Wolfram Sang's avatar Wolfram Sang

net: can: c_can: 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 8e58ed1c
...@@ -392,7 +392,6 @@ static int c_can_resume(struct platform_device *pdev) ...@@ -392,7 +392,6 @@ static int c_can_resume(struct platform_device *pdev)
static struct platform_driver c_can_plat_driver = { static struct platform_driver c_can_plat_driver = {
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.of_match_table = c_can_of_table, .of_match_table = c_can_of_table,
}, },
.probe = c_can_plat_probe, .probe = c_can_plat_probe,
......
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