Re: [PATCH net-next v6 02/10] net: dsa: microchip: ksz8795: move cpu_select_interface to extra function

From: Andrew Lunn
Date: Sat Apr 24 2021 - 11:38:35 EST


On Fri, Apr 23, 2021 at 10:02:10AM +0200, 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>

Andrew