]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited8c3599b8b7b259d916c14b8f2b9ba87bc8ca81
tree8f2fb36374e85aa5ebc4961218be2c0c9a8f4ea2
parent55ad1c9e15e654da2041560b55ec62c28bfa854f
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