summaryrefslogtreecommitdiff
path: root/net/dsa/legacy.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-10-27 15:55:17 -0400
committerDavid S. Miller <davem@davemloft.net>2017-11-01 11:47:36 +0900
commitcbabb0ac01052f79cf96d7b7e3d3451ffd275864 (patch)
tree069e44e90d97695dee2c5d211d680f25138e1b71 /net/dsa/legacy.c
parent6d4e5c570c2d66c806ecc6bd851fcf881fe8a38e (diff)
net: dsa: get master device at port parsing time
Fetching the master device can be done directly when a port is parsed from device tree or pdata, instead of waiting until dsa_dst_parse. Now that -EPROBE_DEFER is returned before we add the switch to the tree, there is no need to check for this error after dsa_dst_parse. 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>
Diffstat (limited to 'net/dsa/legacy.c')
0 files changed, 0 insertions, 0 deletions