On 9/17/2020 6:07 PM, Vladimir Oltean wrote:
From: Vladimir Oltean <vladimir.olt...@nxp.com>

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 <vladimir.olt...@nxp.com>
Reviewed-by: Horatiu Vultur <horatiu.vul...@microchip.com>

Reviewed-by: Florian Fainelli <f.faine...@gmail.com>
--
Florian

Reply via email to