]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: ziirave: constify i2c_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 21 Aug 2017 16:48:38 +0000 (22:18 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 19:16:17 +0000 (21:16 +0200)
commit68c82befe4023afd75006676c4bd708dbe98d668
tree0a307301fdeecf8506e5d3d709e244558bbe97ca
parent39ad808996dd84f2961e241cb1396b391c6cd039
watchdog: ziirave: constify i2c_device_id

i2c_device_id are not supposed to change at runtime. All functions
working with i2c_device_id provided by <linux/i2c.h> work with
const i2c_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/ziirave_wdt.c