net: dsa: mv88e6xxx: add a stats setup function
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 11 May 2018 21:16:36 +0000 (17:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2018 18:49:40 +0000 (14:49 -0400)
commit447b1bb84bb51603f57ae426973a620a7a66a0db
tree6852b1f650a4c2d170928e663bcea88f26677b10
parent93e18d61bfa950aaffff5fccde0f974e1e038f83
net: dsa: mv88e6xxx: add a stats setup function

Now that the Global 1 specific setup function only setup the statistics
unit, kill it in favor of a mv88e6xxx_stats_setup function.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c