net: dsa: Centralize setting up ports
authorAndrew Lunn <andrew@lunn.ch>
Tue, 5 May 2015 23:09:48 +0000 (01:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:05:52 +0000 (16:05 -0400)
commitdbde9e6667166f17d6d70a08becb05c596cb8fb5
tree9dd6035e591b5aab8f32278db6555104dd8035dc
parent54d792f257c65aaff7ac2ab5ea5f83b14c910778
net: dsa: Centralize setting up ports

Now that setting up a port is identical for all switches, centralisers
the code looping over all the ports to set them up.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6131.c
drivers/net/dsa/mv88e6171.c
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h