OSDN Git Service

thermal: ti-soc-thermal: Drop comma after SoC match table sentinel
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Nov 2022 15:47:10 +0000 (16:47 +0100)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:40 +0000 (15:25 +0100)
It does not make sense to have a comma after a sentinel, as any new
elements must be added before the sentinel.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Keerthy <j-keerthy@ti.com>
Link: https://lore.kernel.org/r/1d6de2a80b919cb11199e56ac06ad21c273ebe57.1669045586.git.geert+renesas@glider.be
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/ti-soc-thermal/ti-bandgap.c

index 67050a1..a1c9a15 100644 (file)
@@ -878,7 +878,7 @@ static struct ti_bandgap *ti_bandgap_build(struct platform_device *pdev)
  */
 static const struct soc_device_attribute soc_no_cpu_notifier[] = {
        { .machine = "OMAP4430" },
-       { /* sentinel */ },
+       { /* sentinel */ }
 };
 
 /***   Device driver call backs   ***/