net: dsa: remove ds_to_priv
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 31 Aug 2016 22:06:13 +0000 (18:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2016 05:51:12 +0000 (22:51 -0700)
commit04bed1434df256b07e78fa5deae848bba18a90f3
treecc9b37d3c59dd7cab8d5a63e8bdd04fa1ac9506c
parent278ed676cf453ee41fe1882f872e0ec2741ee191
net: dsa: remove ds_to_priv

Access the priv member of the dsa_switch structure directly, instead of
having an unnecessary helper.

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