]> 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)
commit73f0372cdcbc6e4623a789d2bbfbf8fede9fda17
tree939e88c0979b3f79d6e32219574a9c0388aad63f
parent6c68cc5e6dd6b102388b7426f51d64f17665e674
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