Commit bfd5f04f authored by Wolfram Sang's avatar Wolfram Sang

net: ethernet: freescale: fs_enet: 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 a057351e
...@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_match); ...@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_match);
static struct platform_driver fs_enet_driver = { static struct platform_driver fs_enet_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "fs_enet", .name = "fs_enet",
.of_match_table = fs_enet_match, .of_match_table = fs_enet_match,
}, },
......
...@@ -224,7 +224,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match); ...@@ -224,7 +224,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match);
static struct platform_driver fs_enet_bb_mdio_driver = { static struct platform_driver fs_enet_bb_mdio_driver = {
.driver = { .driver = {
.name = "fsl-bb-mdio", .name = "fsl-bb-mdio",
.owner = THIS_MODULE,
.of_match_table = fs_enet_mdio_bb_match, .of_match_table = fs_enet_mdio_bb_match,
}, },
.probe = fs_enet_mdio_probe, .probe = fs_enet_mdio_probe,
......
...@@ -225,7 +225,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match); ...@@ -225,7 +225,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match);
static struct platform_driver fs_enet_fec_mdio_driver = { static struct platform_driver fs_enet_fec_mdio_driver = {
.driver = { .driver = {
.name = "fsl-fec-mdio", .name = "fsl-fec-mdio",
.owner = THIS_MODULE,
.of_match_table = fs_enet_mdio_fec_match, .of_match_table = fs_enet_mdio_fec_match,
}, },
.probe = fs_enet_mdio_probe, .probe = fs_enet_mdio_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