Re: [PATCH net-next v4 02/11] net: dsa: realtek: rename realtek_smi to realtek_priv

Alvin Šipraga
2022-01-10T12:34:52Z

Luiz Angelo Daros de Luca <luizluca@gmail.com> writes:

> In preparation to adding other interfaces, the private data structure
> was renamed to priv. Also, realtek_smi_variant and realtek_smi_ops
> were renamed to realtek_variant and realtek_ops as those structs are
> not SMI specific.
>
> Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
> Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>

Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>

> ---
> drivers/net/dsa/realtek/realtek-smi-core.c | 316 +++++++-------
> .../realtek/{realtek-smi-core.h => realtek.h} | 68 +--
> drivers/net/dsa/realtek/rtl8365mb.c | 394 ++++++++---------
> drivers/net/dsa/realtek/rtl8366.c | 164 +++----
> drivers/net/dsa/realtek/rtl8366rb.c | 402 +++++++++---------
> 5 files changed, 672 insertions(+), 672 deletions(-)
> rename drivers/net/dsa/realtek/{realtek-smi-core.h => realtek.h} (57%)