On 9/17/2020 6:07 PM, Vladimir Oltean wrote:
From: Vladimir Oltean <[email protected]>

mscc_ocelot_probe() is already pretty large and hard to follow. So move
the code for parsing ports in a separate function.

This makes it easier for the next patch to just call
mscc_ocelot_release_ports from the error path of mscc_ocelot_init_ports.

Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Horatiu Vultur <[email protected]>

Reviewed-by: Florian Fainelli <[email protected]>
--
Florian

Reply via email to