Re: [PATCH net-next v6 04/11] net: dsa: realtek: keep variant reference in realtek_priv

From: Linus Walleij
Date: Fri Feb 09 2024 - 08:20:04 EST

On Fri, Feb 9, 2024 at 6:04 AM Luiz Angelo Daros de Luca
<luizluca@xxxxxxxxx> wrote:

> Instead of copying values from the variant, we can keep a reference in
> realtek_priv.
> This is a preliminary change for sharing code betwen interfaces. It will
> allow to move most of the probe into a common module while still allow
> code specific to each interface to read variant fields.
> Signed-off-by: Luiz Angelo Daros de Luca <luizluca@xxxxxxxxx>
> Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>
> Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Linus Walleij