Re: [PATCH net-next 5/7] net: dsa: get master device at port parsing time

2017-10-30 Thread Florian Fainelli
On 10/27/2017 12:55 PM, Vivien Didelot wrote: > 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 th

[PATCH net-next 5/7] net: dsa: get master device at port parsing time

2017-10-27 Thread Vivien Didelot
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 Did