regulator: tps80031: Constify regulator_ops and tps80031_dcdc_voltages array
authorAxel Lin <axel.lin@ingics.com>
Tue, 16 Apr 2019 10:17:28 +0000 (18:17 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 16 Apr 2019 16:30:41 +0000 (17:30 +0100)
commit4b77a49cb82652488e35ed8d3809f33cedbad6dc
tree8f2fb36374e85aa5ebc4961218be2c0c9a8f4ea2
parentde110f387371337cf90f40055cf1ebdf01b6f427
regulator: tps80031: Constify regulator_ops and tps80031_dcdc_voltages array

These regulator_ops variables and tps80031_dcdc_voltages array 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/tps80031-regulator.c