diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:09 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:09 -0400 |
commit | f1535688c2de69512521c61c498d265d7405241f (patch) | |
tree | 19c8eec53e6712d95650b8cba5a818c237971b00 | |
parent | 7a53834e6e79b98d71dab49b53e0f66608a67d55 (diff) |
net: ethernet: micrel: 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/micrel/ks8695net.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/micrel/ks8842.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/micrel/ks8851_mll.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/micrel/ks8695net.c b/drivers/net/ethernet/micrel/ks8695net.c index 6c7c78baedca..a8522d8af95d 100644 --- a/drivers/net/ethernet/micrel/ks8695net.c +++ b/drivers/net/ethernet/micrel/ks8695net.c | |||
@@ -1612,7 +1612,6 @@ ks8695_drv_remove(struct platform_device *pdev) | |||
1612 | static struct platform_driver ks8695_driver = { | 1612 | static struct platform_driver ks8695_driver = { |
1613 | .driver = { | 1613 | .driver = { |
1614 | .name = MODULENAME, | 1614 | .name = MODULENAME, |
1615 | .owner = THIS_MODULE, | ||
1616 | }, | 1615 | }, |
1617 | .probe = ks8695_probe, | 1616 | .probe = ks8695_probe, |
1618 | .remove = ks8695_drv_remove, | 1617 | .remove = ks8695_drv_remove, |
diff --git a/drivers/net/ethernet/micrel/ks8842.c b/drivers/net/ethernet/micrel/ks8842.c index 0c33b92a5a81..f78909a00f15 100644 --- a/drivers/net/ethernet/micrel/ks8842.c +++ b/drivers/net/ethernet/micrel/ks8842.c | |||
@@ -1255,7 +1255,6 @@ static int ks8842_remove(struct platform_device *pdev) | |||
1255 | static struct platform_driver ks8842_platform_driver = { | 1255 | static struct platform_driver ks8842_platform_driver = { |
1256 | .driver = { | 1256 | .driver = { |
1257 | .name = DRV_NAME, | 1257 | .name = DRV_NAME, |
1258 | .owner = THIS_MODULE, | ||
1259 | }, | 1258 | }, |
1260 | .probe = ks8842_probe, | 1259 | .probe = ks8842_probe, |
1261 | .remove = ks8842_remove, | 1260 | .remove = ks8842_remove, |
diff --git a/drivers/net/ethernet/micrel/ks8851_mll.c b/drivers/net/ethernet/micrel/ks8851_mll.c index 0eb47649191b..2fc5cd56c0a8 100644 --- a/drivers/net/ethernet/micrel/ks8851_mll.c +++ b/drivers/net/ethernet/micrel/ks8851_mll.c | |||
@@ -1679,7 +1679,6 @@ static int ks8851_remove(struct platform_device *pdev) | |||
1679 | static struct platform_driver ks8851_platform_driver = { | 1679 | static struct platform_driver ks8851_platform_driver = { |
1680 | .driver = { | 1680 | .driver = { |
1681 | .name = DRV_NAME, | 1681 | .name = DRV_NAME, |
1682 | .owner = THIS_MODULE, | ||
1683 | .of_match_table = of_match_ptr(ks8851_ml_dt_ids), | 1682 | .of_match_table = of_match_ptr(ks8851_ml_dt_ids), |
1684 | }, | 1683 | }, |
1685 | .probe = ks8851_probe, | 1684 | .probe = ks8851_probe, |