Searched hist:"7 ec764eef934409c4e15539440c31bca0b8de005" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dsa/ |
H A D | master.c | diff 7ec764eef934409c4e15539440c31bca0b8de005 Fri Sep 29 16:19:16 CDT 2017 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: use cpu_dp in master code
Make it clear that the master device is linked to a CPU port by using "cpu_dp" for the dsa_port variable in master.c instead of "port", then use a "port" variable to describe the port index, as usually seen in other places of DSA core.
This will make the future patch touching dsa_ptr more readable. There is no functional changes.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|