net: dsa: mv88e6xxx: replace ds with ps where possible
authorAndrew Lunn <andrew@lunn.ch>
Fri, 29 Apr 2016 01:24:06 +0000 (21:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 May 2016 04:16:23 +0000 (00:16 -0400)
commit158bc065f29c9be0919d18aefab320161936b3a8
tree1b626780670104d2d32eb8e71f055f0b69a20b42
parent8cd14ccbfdba76d0eae13414a85865294fb98df8
net: dsa: mv88e6xxx: replace ds with ps where possible

The dsa_switch structure ds is actually needed in very few places,
mostly during setup of the switch. The private structure ps is however
needed nearly everywhere. Pass ps, not ds internally.

[vd: rebased Andrew's patch.]

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123.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