linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: max77620: fix of_table.cocci warnings
@ 2016-01-11 10:48 Julia Lawall
  2016-01-14  9:00 ` Linus Walleij
  0 siblings, 1 reply; 7+ messages in thread
From: Julia Lawall @ 2016-01-11 10:48 UTC (permalink / raw)
  To: Laxman Dewangan
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	linus.walleij, gnurou, lee.jones, broonie, a.zummo,
	alexandre.belloni, lgirdwood, devicetree, linux-kernel,
	linux-gpio, rtc-linux, swarren, treding, Chaitanya Bandi

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

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

CC: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

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

 gpio-max77620.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -301,6 +301,7 @@ static struct platform_device_id max7762
 	{
 		.name = "max20024-gpio",
 	},
+	{},
 };

 static struct platform_driver max77620_gpio_driver = {

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-18 12:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 10:48 [PATCH] gpio: max77620: fix of_table.cocci warnings Julia Lawall
2016-01-14  9:00 ` Linus Walleij
2016-01-14  9:47   ` Lee Jones
2016-01-14  9:39     ` Laxman Dewangan
2016-01-15 13:15       ` Linus Walleij
     [not found]         ` <CACRpkdaV6e2SeAGE5C6_W6_0qbwMG6RaL+b+8o+JoyuJR-Y=Hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-15 13:44           ` Julia Lawall
2016-01-18 12:08           ` Laxman Dewangan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).