linux/drivers/net/ethernet/smsc
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
..
epic100.c epic100: replace printk with netdev_ calls 2013-11-02 01:19:24 -04:00
Kconfig netdev: smc91x: enable for xtensa 2013-11-08 13:27:55 -05:00
Makefile
smc91c92_cs.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
smc91x.c smc91x: improve definition of debug macros 2014-04-24 13:07:48 -04:00
smc91x.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smc911x.c net: smc911x: Remove unused local variable 2014-04-04 10:02:21 -04:00
smc911x.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smc9194.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-11-13 17:40:34 +09:00
smc9194.h
smsc911x.c smsc911x: No need to print driver version 2014-03-26 15:46:15 -04:00
smsc911x.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
smsc9420.c smsc9420: use named constants for pci_power_t values 2014-01-03 19:58:48 -05:00
smsc9420.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00