aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:13 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:13 -0400
commit3a6e44c57a75f6a73614b1be9c953654864adaaa (patch)
tree84c301dcf0244b3a8b209e61a5a5efc25eef3e71
parent6577f97d476f5ca5cfc38219d9dce881579ae1b5 (diff)
net: ethernet: sun: 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/sun/niu.c1
-rw-r--r--drivers/net/ethernet/sun/sunbmac.c1
-rw-r--r--drivers/net/ethernet/sun/sunhme.c1
-rw-r--r--drivers/net/ethernet/sun/sunqe.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c
index 904fd1ab5f6e..a2a1d32742a6 100644
--- a/drivers/net/ethernet/sun/niu.c
+++ b/drivers/net/ethernet/sun/niu.c
@@ -10185,7 +10185,6 @@ MODULE_DEVICE_TABLE(of, niu_match);
10185static struct platform_driver niu_of_driver = { 10185static struct platform_driver niu_of_driver = {
10186 .driver = { 10186 .driver = {
10187 .name = "niu", 10187 .name = "niu",
10188 .owner = THIS_MODULE,
10189 .of_match_table = niu_match, 10188 .of_match_table = niu_match,
10190 }, 10189 },
10191 .probe = niu_of_probe, 10190 .probe = niu_of_probe,
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c
index 206c1063815a..aa4f9d2d8fa9 100644
--- a/drivers/net/ethernet/sun/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
@@ -1273,7 +1273,6 @@ MODULE_DEVICE_TABLE(of, bigmac_sbus_match);
1273static struct platform_driver bigmac_sbus_driver = { 1273static struct platform_driver bigmac_sbus_driver = {
1274 .driver = { 1274 .driver = {
1275 .name = "sunbmac", 1275 .name = "sunbmac",
1276 .owner = THIS_MODULE,
1277 .of_match_table = bigmac_sbus_match, 1276 .of_match_table = bigmac_sbus_match,
1278 }, 1277 },
1279 .probe = bigmac_sbus_probe, 1278 .probe = bigmac_sbus_probe,
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c
index 72c8525d5457..4396c570beb4 100644
--- a/drivers/net/ethernet/sun/sunhme.c
+++ b/drivers/net/ethernet/sun/sunhme.c
@@ -3271,7 +3271,6 @@ MODULE_DEVICE_TABLE(of, hme_sbus_match);
3271static struct platform_driver hme_sbus_driver = { 3271static struct platform_driver hme_sbus_driver = {
3272 .driver = { 3272 .driver = {
3273 .name = "hme", 3273 .name = "hme",
3274 .owner = THIS_MODULE,
3275 .of_match_table = hme_sbus_match, 3274 .of_match_table = hme_sbus_match,
3276 }, 3275 },
3277 .probe = hme_sbus_probe, 3276 .probe = hme_sbus_probe,
diff --git a/drivers/net/ethernet/sun/sunqe.c b/drivers/net/ethernet/sun/sunqe.c
index 5695ae2411de..9b825780b3be 100644
--- a/drivers/net/ethernet/sun/sunqe.c
+++ b/drivers/net/ethernet/sun/sunqe.c
@@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, qec_sbus_match);
963static struct platform_driver qec_sbus_driver = { 963static struct platform_driver qec_sbus_driver = {
964 .driver = { 964 .driver = {
965 .name = "qec", 965 .name = "qec",
966 .owner = THIS_MODULE,
967 .of_match_table = qec_sbus_match, 966 .of_match_table = qec_sbus_match,
968 }, 967 },
969 .probe = qec_sbus_probe, 968 .probe = qec_sbus_probe,