Thread (2 messages) 2 messages, 2 authors, 2016-01-12
STALE3802d

[PATCH] rtc: max77xxx: fix of_table.cocci warnings

From: Julia Lawall <hidden>
Date: 2016-01-12 11:27:21
Also in: linux-gpio, linux-rtc, lkml

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

CC: Laxman Dewangan <redacted>
Signed-off-by: Fengguang Wu <redacted>
Signed-off-by: Julia Lawall <redacted>
---

Please take the patch only if it's a positive warning. Thanks!

 rtc-max77xxx.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/rtc/rtc-max77xxx.c
+++ b/drivers/rtc/rtc-max77xxx.c
@@ -480,6 +480,7 @@ static const struct platform_device_id m
 	{ .name = "max77xxx-rtc", },
 	{ .name = "max77620-rtc", },
 	{ .name = "max20024-rtc", },
+	{},
 };

 static struct platform_driver max77xxx_rtc_driver = {
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help