]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: lm363x: Constify regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Tue, 2 Apr 2019 12:13:48 +0000 (20:13 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:10:22 +0000 (11:10 +0700)
commitb1d0955ca74978b0394bdca5a73ef1edd491e701
tree939e88c0979b3f79d6e32219574a9c0388aad63f
parent7ab4fbd0090f8539147d147586bd71ddd5488eca
regulator: lm363x: Constify regulator_ops

The lm363x_boost_voltage_table_ops and lm363x_regulator_voltage_table_ops
never need to be modified, make them const so compiler can put them to
.rodata.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lm363x-regulator.c