[PATCH net-next 27/33] net: ethernet: ti: cpsw: Remove comma after sentinel-entry in match-table

Alexander Sverdlin alex at sverdlin.org
Fri Sep 4 01:45:55 PDT 2026


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 at ti.com>

Reviewed-by: Alexander Sverdlin <alex at sverdlin.org>

> ---
>  drivers/net/ethernet/ti/cpsw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
> index aa3531e844e8..63b64faeaca0 100644
> --- a/drivers/net/ethernet/ti/cpsw.c
> +++ b/drivers/net/ethernet/ti/cpsw.c
> @@ -1529,7 +1529,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
>  	{ .compatible = "ti,am335x-cpsw"},
>  	{ .compatible = "ti,am4372-cpsw"},
>  	{ .compatible = "ti,dra7-cpsw"},
> -	{ /* sentinel */ },
> +	{ /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, cpsw_of_mtable);



More information about the linux-arm-kernel mailing list