dsa: Rename switch chip data to cd
authorAndrew Lunn <andrew@lunn.ch>
Tue, 10 May 2016 21:27:24 +0000 (23:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2016 23:36:28 +0000 (19:36 -0400)
commitff04955c2f678a2c4c3207e0184c4c389da9d1e2
treed21e3cc6db20f9c3ed39ef72166cba7de56bd69e
parentc33063d6a0d83a553faacf32f3cb834e63d8ecd7
dsa: Rename switch chip data to cd

The dsa_switch structure contains a dsa_chip_data member called pd.
However in the rest of the code, pd is used for dsa_platform_data.
This is confusing. Rename it cd, which is already often used in dsa.c
and slave.c for this data type.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h
net/dsa/dsa.c
net/dsa/slave.c