[rtc-linux] [PATCH] gpio: max77620: fix of_table.cocci warnings
From: Julia Lawall <hidden>
Date: 2016-01-11 10:48:51
Also in:
linux-devicetree, linux-gpio, lkml
From: Julia Lawall <hidden>
Date: 2016-01-11 10:48:51
Also in:
linux-devicetree, linux-gpio, lkml
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 <redacted> Signed-off-by: Julia Lawall <redacted> --- 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 = {