# \[PATCH\] pinctrl: max77620: fix of\_table.cocci warnings

- From: Julia Lawall \<hidden\>
- Date: 2016-01-12 10:51:19 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2016/01/4658403
- Thread: https://ratatoskr.run/linux-devicetree/2016/01/4658403/t.md

```text
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!

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

--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -673,6 +673,7 @@ static const struct platform_device_id m
 	}, {
 		.name = "max20024-pinctrl",
 	},
+	{},
 };

 static struct platform_driver max77620_pinctrl_driver = {
```
