aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:08 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:08 -0400
commitbfd5f04ffa9d3d87c73e4332080668d63746f609 (patch)
tree25602e8714105c934792d1789396026953653cc9
parenta057351e1e333c4753384be880518efee363e664 (diff)
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: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c1
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c1
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mii-fec.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
index c92c3b7876ca..9e2bcb807923 100644
--- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
+++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_match);
1087 1087
1088static struct platform_driver fs_enet_driver = { 1088static struct platform_driver fs_enet_driver = {
1089 .driver = { 1089 .driver = {
1090 .owner = THIS_MODULE,
1091 .name = "fs_enet", 1090 .name = "fs_enet",
1092 .of_match_table = fs_enet_match, 1091 .of_match_table = fs_enet_match,
1093 }, 1092 },
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
index 3d3fde66c2cc..1d5617d2d8bd 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
@@ -224,7 +224,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match);
224static struct platform_driver fs_enet_bb_mdio_driver = { 224static struct platform_driver fs_enet_bb_mdio_driver = {
225 .driver = { 225 .driver = {
226 .name = "fsl-bb-mdio", 226 .name = "fsl-bb-mdio",
227 .owner = THIS_MODULE,
228 .of_match_table = fs_enet_mdio_bb_match, 227 .of_match_table = fs_enet_mdio_bb_match,
229 }, 228 },
230 .probe = fs_enet_mdio_probe, 229 .probe = fs_enet_mdio_probe,
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
index ebf5d6429a8d..1648e3582500 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
@@ -225,7 +225,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match);
225static struct platform_driver fs_enet_fec_mdio_driver = { 225static struct platform_driver fs_enet_fec_mdio_driver = {
226 .driver = { 226 .driver = {
227 .name = "fsl-fec-mdio", 227 .name = "fsl-fec-mdio",
228 .owner = THIS_MODULE,
229 .of_match_table = fs_enet_mdio_fec_match, 228 .of_match_table = fs_enet_mdio_fec_match,
230 }, 229 },
231 .probe = fs_enet_mdio_probe, 230 .probe = fs_enet_mdio_probe,