linux/drivers/net/ethernet/altera
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
..
altera_msgdma.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-05-12 13:19:14 -04:00
altera_msgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_msgdmahw.h
altera_sgdma.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-05-12 13:19:14 -04:00
altera_sgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_sgdmahw.h
altera_tse_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
altera_tse_main.c Altera TSE: Fix Panic in probe routine when phy probe fails 2014-04-26 12:26:26 -04:00
altera_tse.h Altera TSE: Set the Pause Quanta value to the IEEE default value 2014-04-26 12:26:26 -04:00
altera_utils.c Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver 2014-03-17 21:26:57 -04:00
altera_utils.h Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver 2014-03-17 21:26:57 -04:00
Kconfig Altera TSE: ALTERA_TSE should depend on HAS_DMA 2014-05-05 13:16:22 -04:00
Makefile Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig 2014-03-17 21:26:57 -04:00