[PATCH net-next 20/33] net: dsa: realtek: rtl8365mb: Remove comma after sentinel-entry in match-table

Luiz Angelo Daros de Luca luizluca at gmail.com
Fri Sep 4 06:55:19 PDT 2026


Em sex., 4 de set. de 2026 às 01:39, Siddharth Vadapalli
<s-vadapalli at ti.com> escreveu:
>
> Since sentinel is the last entry and we do not expect further entries
> following it, remove the comma.
>
> Signed-off-by: Siddharth Vadapalli <s-vadapalli at ti.com>
> ---
>  drivers/net/dsa/realtek/rtl8365mb_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dsa/realtek/rtl8365mb_main.c b/drivers/net/dsa/realtek/rtl8365mb_main.c
> index 4c305756116c..f8220d832e46 100644
> --- a/drivers/net/dsa/realtek/rtl8365mb_main.c
> +++ b/drivers/net/dsa/realtek/rtl8365mb_main.c
> @@ -3352,7 +3352,7 @@ const struct realtek_variant rtl8365mb_variant = {
>
>  static const struct of_device_id rtl8365mb_of_match[] = {
>         { .compatible = "realtek,rtl8365mb", .data = &rtl8365mb_variant, },
> -       { /* sentinel */ },
> +       { /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, rtl8365mb_of_match);
>
> --
> 2.51.1
>

Reviewed-by: Luiz Angelo Daros de Luca <luizluca at gmail.com>



More information about the linux-riscv mailing list