linux/drivers/staging/octeon
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
..
Kconfig MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC 2013-06-10 18:01:25 +02:00
Makefile MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
ethernet-defines.h staging: octeon-ethernet: drop CONFIG_CAVIUM_OCTEON_NUM_PACKET_BUFFERS 2014-03-04 16:42:28 -08:00
ethernet-mdio.c staging: octeon: ethernet-mdio.c Fix line over 80 characters. 2014-03-16 21:19:14 -07:00
ethernet-mdio.h staging: delete non-required instances of include <linux/init.h> 2013-12-17 10:08:14 -08:00
ethernet-mem.c staging:octeon: Replace pr_warning by preferred pr_warn 2014-03-07 13:52:23 -08:00
ethernet-mem.h
ethernet-rgmii.c staging/octeon:ethernet-rgmii.c: Fix line over 80 characters. 2014-03-18 13:08:02 -07:00
ethernet-rx.c staging: delete non-required instances of include <linux/init.h> 2013-12-17 10:08:14 -08:00
ethernet-rx.h MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
ethernet-sgmii.c MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
ethernet-spi.c Staging: octeon: quoted string split across lines in ethernet-spi.c 2013-10-11 13:52:00 -07:00
ethernet-tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-04-02 20:53:45 -07:00
ethernet-tx.h
ethernet-util.h staging:octeon Fix typos in staging:octeon 2012-04-10 09:47:05 -07:00
ethernet-xaui.c MIPS: Octeon: Move some Ethernet support files out of staging. 2011-12-07 22:03:28 +00:00
ethernet.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
octeon-ethernet.h staging: octeon: octeon-ethernet.h Fix Unnecessary space after function pointer name 2014-03-18 10:32:19 -07:00