commit | 1838fa89a22cbc9ec87e995683e241a82d87e6df | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Oct 27 15:55:18 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 01 11:47:36 2017 +0900 |
tree | 34be73f20faedfd7c979548b5336cfcb4d61cd56 | |
parent | cbabb0ac01052f79cf96d7b7e3d3451ffd275864 [diff] |
net: dsa: get port name at parse time Get the optional "label" property and assign a default one directly at parse time instead of doing it when creating the slave. For legacy, simply assign the port name stored in cd->port_names. 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>