regulator: tps65090: constify static regulator_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 29 Aug 2020 22:11:01 +0000 (00:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Sep 2020 14:48:55 +0000 (15:48 +0100)
commit7d844ac3b5a8a97ae4a05d9f545346a4fca77cea
tree915090c0fd746eb02ce4b7e55102a5b1eac01682
parent2e6d9db83ac7c65b986d3037620dc735dee7383f
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>
drivers/regulator/tps65090-regulator.c