linux_dsm_epyc7002/drivers/net/ethernet/intel/e1000
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
..
e1000_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
e1000_hw.c e1000: remove debug messages with function names 2014-04-11 05:58:07 -07:00
e1000_hw.h e1000: Adding e1000_dump function 2012-02-07 04:01:46 -08:00
e1000_main.c e1000: remove open-coded skb_cow_head 2014-04-11 05:58:07 -07:00
e1000_osdep.h intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00
e1000_param.c e1000: fix whitespace issues and multi-line comments 2013-02-15 21:46:37 -08:00
e1000.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00