hwmon: (ftsteutates) constify i2c_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 19:26:34 +0000 (00:56 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 30 Aug 2017 00:44:23 +0000 (17:44 -0700)
commit1dad2e958a0b0e402adfd1546d15e7b628ac2c5a
tree3dbdee6c1c20923d5acd6ab593cc2d337f87aeca
parentd5553c26198f0eea3e6f1d13c51cb548a0a4f260
hwmon: (ftsteutates) 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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ftsteutates.c