net: Convert ethtool {get_stats, self_test}_count() ops to get_sset_count()
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 1 Oct 2009 11:58:24 +0000 (11:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2009 07:10:10 +0000 (00:10 -0700)
commit15f0a394c6573f4cb65a13095288ab9b9f8135f9
tree211fe96826513a68a107feb9850817b9c4b2c8d1
parent1ddee09ff0420090d5b03ef3f9eba0e4db647035
net: Convert ethtool {get_stats, self_test}_count() ops to get_sset_count()

These string query operations were supposed to be replaced by the
generic get_sset_count() starting in 2007.  Convert the remaining
implementations.

Also remove calls to these operations to initialise drvinfo->n_stats.
The ethtool core code already does that.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/nes/nes_nic.c
drivers/net/benet/be_ethtool.c
drivers/net/bnx2x_main.c
drivers/net/ibm_newemac/core.c
drivers/net/igbvf/ethtool.c
drivers/net/niu.c