Re: [PATCH] watchdog: max77620_wdt: constify platform_device_id

2017-08-14 Thread Guenter Roeck
On Sun, Aug 13, 2017 at 04:58:28PM +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav R

[PATCH] watchdog: max77620_wdt: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/watchdog/max77620_wdt.c | 2 +- 1 file changed, 1 insertion(+),