net: dsa: update DSA drivers to use ds_to_priv
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 28 Apr 2014 18:14:28 +0000 (11:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 17:31:25 +0000 (13:31 -0400)
commita22adce5f97c172398082bf9a713ccfba6c2364f
treea16c97c9fee55c30c5790725962385ff5437a668
parent7fa857ed041537ee6cbc7ee4ab0204a1231cfcb9
net: dsa: update DSA drivers to use ds_to_priv

Use the helper function to retrieve the driver private context instead of
using (void *)(ds + 1).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6131.c
drivers/net/dsa/mv88e6xxx.c