Re: [PATCH net-next v7 2/9] net: dsa: microchip: ksz8795: move cpu_select_interface to extra function

From: Florian Fainelli
Date: Mon Apr 26 2021 - 14:30:43 EST


On 4/26/21 6:19 AM, Oleksij Rempel wrote:
> From: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
>
> This patch moves the cpu interface selection code to a individual
> function specific for ksz8795. It will make it simpler to customize the
> code path for different switches supported by this driver.
>
> Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian