Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dda9055-i2c.c6af42e5d Sat Aug 19 14:29:37 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> mfd: da9055: 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: Lee Jones <lee.jones@linaro.org>
6af42e5d Sat Aug 19 14:29:37 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> mfd: da9055: 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: Lee Jones <lee.jones@linaro.org>