From: Vivien Didelot <hidden> Date: 2017-06-06 17:55:02
Florian Fainelli [off-list ref] writes:
Introduce a helper function which will return a reference to the CPU
port used in a dsa_switch_tree. Right now this is a singleton, but this
will change once we introduce multi-CPU port support, so ease the
transition by converting the affected code paths.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>