watchdog: max77620_wdt: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 13 Aug 2017 11:28:28 +0000 (16:58 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 18:40:39 +0000 (20:40 +0200)
commite8c7ebfdb4308d26efda8214da8bfbbd9cc31414
tree56e0462447f50a312f6e6d9e71652e6883b8692f
parentcc53e1c2bba50563da8fae057e75a6377b9db696
watchdog: max77620_wdt: constify platform_device_id

platform_device_id are not supposed to change at runtime. All functions
working with platform_device_id provided by <linux/platform_device.h>
work with const platform_device_id. So mark the non-const structs as
const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/max77620_wdt.c