summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps6586x-regulator.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-08-30 01:10:59 +0300
committerMark Brown <broonie@kernel.org>2020-09-01 17:48:53 +0300
commit01167e88e9372f9748e94a7322b0d43ccb980d9f (patch)
tree89269bbd2ebe7feea6a0c80d7b8940df06588eeb /drivers/regulator/tps6586x-regulator.c
parent55c81934e7040c1e0c26b72ee752203ccf190b51 (diff)
downloadlinux-01167e88e9372f9748e94a7322b0d43ccb980d9f.tar.xz
regulator: tps62360: Constify tps62360_dcdc_ops
The only usage of tps62360_dcdc_ops is to assign its address to the ops field in the regulator_desc struct, which is a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20200829221104.20870-4-rikard.falkeborn@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/tps6586x-regulator.c')
0 files changed, 0 insertions, 0 deletions