diff options
| author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-27 22:55:17 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-11-01 05:47:36 +0300 |
| commit | cbabb0ac01052f79cf96d7b7e3d3451ffd275864 (patch) | |
| tree | 069e44e90d97695dee2c5d211d680f25138e1b71 /include/linux/errseq.h | |
| parent | 6d4e5c570c2d66c806ecc6bd851fcf881fe8a38e (diff) | |
| download | linux-cbabb0ac01052f79cf96d7b7e3d3451ffd275864.tar.xz | |
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 'include/linux/errseq.h')
0 files changed, 0 insertions, 0 deletions
