summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5592r-base.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-20 00:17:38 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-20 10:17:23 +0100
commit3282fa3c0a108ac21b4c5a4818e70f510d582676 (patch)
treeea301ad11c72c8c68e5b243fa716372411fb8918 /drivers/iio/dac/ad5592r-base.c
parenta6e5de937502dfca80fd4ddd7cf13671e1f853c6 (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>
Diffstat (limited to 'drivers/iio/dac/ad5592r-base.c')
0 files changed, 0 insertions, 0 deletions