commit | 1dad2e958a0b0e402adfd1546d15e7b628ac2c5a | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sun Aug 20 00:56:34 2017 +0530 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Aug 29 17:44:23 2017 -0700 |
tree | 3dbdee6c1c20923d5acd6ab593cc2d337f87aeca | |
parent | d5553c26198f0eea3e6f1d13c51cb548a0a4f260 [diff] |
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>