[PATCH net-next 16/33] net: dsa: mt7530: mmio: Remove comma after sentinel-entry in match-table
Daniel Golle
daniel at makrotopia.org
Fri Sep 4 02:59:47 PDT 2026
On Fri, Sep 04, 2026 at 10:06:22AM +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>
> ---
> drivers/net/dsa/mt7530-mmio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dsa/mt7530-mmio.c b/drivers/net/dsa/mt7530-mmio.c
> index fd68b1cd0630..cf3bdb23a2d5 100644
> --- a/drivers/net/dsa/mt7530-mmio.c
> +++ b/drivers/net/dsa/mt7530-mmio.c
> @@ -14,7 +14,7 @@ static const struct of_device_id mt7988_of_match[] = {
> { .compatible = "airoha,en7581-switch", .data = &mt753x_table[ID_EN7581], },
> { .compatible = "econet,en7528-switch", .data = &mt753x_table[ID_EN7528], },
> { .compatible = "mediatek,mt7988-switch", .data = &mt753x_table[ID_MT7988], },
> - { /* sentinel */ },
> + { /* sentinel */ }
> };
> MODULE_DEVICE_TABLE(of, mt7988_of_match);
Reviewed-by: Daniel Golle <daniel at makrotopia.org>
More information about the linux-riscv
mailing list