iio: light: tsl2583: constify i2c_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 19 Aug 2017 18:47:38 +0000 (00:17 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Aug 2017 09:17:23 +0000 (10:17 +0100)
commit3282fa3c0a108ac21b4c5a4818e70f510d582676
treeea301ad11c72c8c68e5b243fa716372411fb8918
parenta6e5de937502dfca80fd4ddd7cf13671e1f853c6
iio: light: tsl2583: 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: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/tsl2583.c