Messages in this thread Patch in this message | | | Date | Tue, 12 Jan 2016 12:27:04 +0100 (CET) | From | Julia Lawall <> | Subject | [PATCH] rtc: max77xxx: fix of_table.cocci warnings |
| |
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!
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 = {
| |