Home
last modified time | relevance | path

Searched hist:"1 dad2e958a0b0e402adfd1546d15e7b628ac2c5a" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dftsteutates.cdiff 1dad2e958a0b0e402adfd1546d15e7b628ac2c5a Sat Aug 19 21:26:34 CEST 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>