net: dsa: mv88e6xxx: Refactor remaining port setup
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Feb 2017 19:15:28 +0000 (20:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 15:48:06 +0000 (10:48 -0500)
commita23b296198cbf2b78101e7e745f9c45663c3f82e
treeabfe780c8680390d685c1bbb255bf9df6fe0c8e2
parentcf3e80df13e534eb34a85835d5357c78d8689199
net: dsa: mv88e6xxx: Refactor remaining port setup

Move the remaining port configuration code which varies per device
into port.c, using ops were necessary. This makes
mv88e6xxx_6185_family() and mv88e6xxx_6095_family() unused, so remove
them.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h