regulator: tps65910: Constify static regulator_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 29 Aug 2020 22:11:04 +0000 (00:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Sep 2020 14:48:57 +0000 (15:48 +0100)
commit385d41d7edbc37d6b30197672b744021ce3baccf
tree202d4e57408f8ca116f0891f63fdd84b1b720b0d
parente92b8ef87a8a4a95056d6b5852bd4b5288f34540
regulator: tps65910: Constify static regulator_ops

The only usage of these is 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-9-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65910-regulator.c