summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-21 22:21:08 +0530
committerMark Brown <broonie@kernel.org>2017-08-21 18:10:42 +0100
commit6d284bb11c302a4db4d169ca13d48dbb4d9b5cbe (patch)
tree86124829a58ff7d1227ef7db921c7125fc76edf4 /drivers/regulator/core.c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadop-kernel-dev-6d284bb11c302a4db4d169ca13d48dbb4d9b5cbe.zip
op-kernel-dev-6d284bb11c302a4db4d169ca13d48dbb4d9b5cbe.tar.gz
regulator: ltc3589: 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud