diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-21 22:13:51 +0530 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-09-03 18:10:28 +0100 |
commit | 1405ddfbf10a4e3475babf533fca5f5f60dba2c8 (patch) | |
tree | 97e97cd26d61882642a95131c8cde89c70743936 /drivers/staging/rtl8192u | |
parent | c3c198bd62509f2d633dde36344798c39d6e16e0 (diff) |
staging: iio: tsl2x7x: 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/staging/rtl8192u')
0 files changed, 0 insertions, 0 deletions