Commit 379f023d authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: ibm: emac: 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 3f8e0b5f
...@@ -3009,7 +3009,6 @@ MODULE_DEVICE_TABLE(of, emac_match); ...@@ -3009,7 +3009,6 @@ MODULE_DEVICE_TABLE(of, emac_match);
static struct platform_driver emac_driver = { static struct platform_driver emac_driver = {
.driver = { .driver = {
.name = "emac", .name = "emac",
.owner = THIS_MODULE,
.of_match_table = emac_match, .of_match_table = emac_match,
}, },
.probe = emac_probe, .probe = emac_probe,
......
...@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] = ...@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] =
static struct platform_driver mal_of_driver = { static struct platform_driver mal_of_driver = {
.driver = { .driver = {
.name = "mcmal", .name = "mcmal",
.owner = THIS_MODULE,
.of_match_table = mal_platform_match, .of_match_table = mal_platform_match,
}, },
.probe = mal_probe, .probe = mal_probe,
......
...@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] = ...@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] =
static struct platform_driver rgmii_driver = { static struct platform_driver rgmii_driver = {
.driver = { .driver = {
.name = "emac-rgmii", .name = "emac-rgmii",
.owner = THIS_MODULE,
.of_match_table = rgmii_match, .of_match_table = rgmii_match,
}, },
.probe = rgmii_probe, .probe = rgmii_probe,
......
...@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] = ...@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] =
static struct platform_driver tah_driver = { static struct platform_driver tah_driver = {
.driver = { .driver = {
.name = "emac-tah", .name = "emac-tah",
.owner = THIS_MODULE,
.of_match_table = tah_match, .of_match_table = tah_match,
}, },
.probe = tah_probe, .probe = tah_probe,
......
...@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] = ...@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] =
static struct platform_driver zmii_driver = { static struct platform_driver zmii_driver = {
.driver = { .driver = {
.name = "emac-zmii", .name = "emac-zmii",
.owner = THIS_MODULE,
.of_match_table = zmii_match, .of_match_table = zmii_match,
}, },
.probe = zmii_probe, .probe = zmii_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