Re: [PATCH net-next 14/33] net: dsa: mxl-gsw1xx: Remove comma after sentinel-entry in match-table
From: Alexander Sverdlin
Date: Fri Sep 04 2026 - 04:54:00 EST
On Fri, 2026-09-04 at 10:06 +0530, Siddharth Vadapalli wrote:
> 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@xxxxxx>
Reviewed-by: Alexander Sverdlin <alex@xxxxxxxxxxxx>
> ---
> drivers/net/dsa/lantiq/mxl-gsw1xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dsa/lantiq/mxl-gsw1xx.c b/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> index a1104b2f92a9..347e16e9fdc1 100644
> --- a/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> +++ b/drivers/net/dsa/lantiq/mxl-gsw1xx.c
> @@ -918,7 +918,7 @@ static const struct of_device_id gsw1xx_of_match[] = {
> { .compatible = "maxlinear,gsw140", .data = &gsw140_data },
> { .compatible = "maxlinear,gsw141", .data = &gsw141_data },
> { .compatible = "maxlinear,gsw145", .data = &gsw140_data },
> - { /* sentinel */ },
> + { /* sentinel */ }
> };
>
> MODULE_DEVICE_TABLE(of, gsw1xx_of_match);