[PATCH] pinctrl: max77620: fix of_table.cocci warnings

From: Julia Lawall
Date: Tue Jan 12 2016 - 05:51:23 EST


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

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

CC: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Signed-off-by: Julia Lawall <julia.lawall@xxxxxxx>
---

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 = {