summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps6586x-regulator.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-08-30 01:11:01 +0300
committerMark Brown <broonie@kernel.org>2020-09-01 17:48:55 +0300
commit7d844ac3b5a8a97ae4a05d9f545346a4fca77cea (patch)
tree915090c0fd746eb02ce4b7e55102a5b1eac01682 /drivers/regulator/tps6586x-regulator.c
parent2e6d9db83ac7c65b986d3037620dc735dee7383f (diff)
downloadlinux-7d844ac3b5a8a97ae4a05d9f545346a4fca77cea.tar.xz
regulator: tps65090: constify static regulator_ops
The only usages of these are to assign their address to the ops field in the regulator_desc struct, which is a const pointer. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20200829221104.20870-6-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