linux/drivers/net/ethernet/dec/tulip
Wilfried Klaebe 7ad24ea4bf net: get rid of SET_ETHTOOL_OPS
net: get rid of SET_ETHTOOL_OPS

Dave Miller mentioned he'd like to see SET_ETHTOOL_OPS gone.
This does that.

Mostly done via coccinelle script:
@@
struct ethtool_ops *ops;
struct net_device *dev;
@@
-       SET_ETHTOOL_OPS(dev, ops);
+       dev->ethtool_ops = ops;

Compile tested only, but I'd seriously wonder if this broke anything.

Suggested-by: Dave Miller <davem@davemloft.net>
Signed-off-by: Wilfried Klaebe <w-lkml@lebenslange-mailadresse.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-13 17:43:20 -04:00
..
21142.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
de4x5.c net: tulip: use DEFINE_PCI_DEVICE_TABLE 2013-10-22 02:19:23 -04:00
de4x5.h
de2104x.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
dmfe.c dmfe: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:00 -07:00
eeprom.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
interrupt.c tulip: Properly check dma mapping result 2013-06-13 17:09:40 -07:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
media.c tulip: cleanup by using ARRAY_SIZE() 2014-01-23 13:28:29 -08:00
pnic2.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
pnic.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
timer.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
tulip_core.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
tulip.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
uli526x.c uli526x: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:00 -07:00
winbond-840.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
xircom_cb.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00