linux_dsm_epyc7002/drivers/net/ethernet/intel/igb
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_82575.c igb: Cleanups to fix msleep warnings 2014-04-24 17:41:15 -07:00
e1000_82575.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_defines.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_hw.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_i210.c igb: Cleanups to fix missing break in switch statements 2014-04-24 17:26:28 -07:00
e1000_i210.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_mac.c igb: Cleanups to fix msleep warnings 2014-04-24 17:41:15 -07:00
e1000_mac.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_mbx.c igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_mbx.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_nvm.c igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_nvm.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_phy.c igb: Cleanups to fix msleep warnings 2014-04-24 17:41:15 -07:00
e1000_phy.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_regs.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
igb_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
igb_hwmon.c igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
igb_main.c igb: Change memcpy to struct assignment 2014-04-24 17:41:17 -07:00
igb_ptp.c e1000e/igb/ixgbe/i40e: fix message terminations 2014-04-18 18:41:24 -07:00
igb.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
Makefile igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00