commit | 3282fa3c0a108ac21b4c5a4818e70f510d582676 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sun Aug 20 00:17:38 2017 +0530 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Aug 20 10:17:23 2017 +0100 |
tree | ea301ad11c72c8c68e5b243fa716372411fb8918 | |
parent | a6e5de937502dfca80fd4ddd7cf13671e1f853c6 [diff] |
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>