* [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel
@ 2022-11-21 15:47 Geert Uytterhoeven
2022-12-01 2:31 ` J, KEERTHY
2022-12-04 16:30 ` Daniel Lezcano
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2022-11-21 15:47 UTC (permalink / raw)
To: Eduardo Valentin, Keerthy, Rafael J . Wysocki, Daniel Lezcano,
Amit Kucheria, Zhang Rui
Cc: linux-pm, linux-omap, linux-kernel, Geert Uytterhoeven
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>
---
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
index 53d409c80753c25e..576c2115df85da72 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
@@ -877,7 +877,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 ***/
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel
2022-11-21 15:47 [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel Geert Uytterhoeven
@ 2022-12-01 2:31 ` J, KEERTHY
2022-12-04 16:30 ` Daniel Lezcano
1 sibling, 0 replies; 3+ messages in thread
From: J, KEERTHY @ 2022-12-01 2:31 UTC (permalink / raw)
To: Geert Uytterhoeven, Eduardo Valentin, Rafael J . Wysocki,
Daniel Lezcano, Amit Kucheria, Zhang Rui
Cc: linux-pm, linux-omap, linux-kernel
On 11/21/2022 9:17 PM, Geert Uytterhoeven wrote:
> It does not make sense to have a comma after a sentinel, as any new
> elements must be added before the sentinel.
Acked-by: Keerthy <j-keerthy@ti.com>
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> drivers/thermal/ti-soc-thermal/ti-bandgap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> index 53d409c80753c25e..576c2115df85da72 100644
> --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> @@ -877,7 +877,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 ***/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel
2022-11-21 15:47 [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel Geert Uytterhoeven
2022-12-01 2:31 ` J, KEERTHY
@ 2022-12-04 16:30 ` Daniel Lezcano
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2022-12-04 16:30 UTC (permalink / raw)
To: Geert Uytterhoeven, Eduardo Valentin, Keerthy,
Rafael J . Wysocki, Amit Kucheria, Zhang Rui
Cc: linux-pm, linux-omap, linux-kernel
On 21/11/2022 16:47, Geert Uytterhoeven wrote:
> 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>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-04 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-21 15:47 [PATCH resend] thermal: ti-soc-thermal: Drop comma after SoC match table sentinel Geert Uytterhoeven
2022-12-01 2:31 ` J, KEERTHY
2022-12-04 16:30 ` Daniel Lezcano
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.