Commit 921b2b3a authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: lp873x: Constify lp873x_buck_ramp_delay array

The lp873x_buck_ramp_delay should never change, make it const.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 36a495bf
...@@ -61,7 +61,7 @@ static const struct regulator_linear_range ldo0_ldo1_ranges[] = { ...@@ -61,7 +61,7 @@ static const struct regulator_linear_range ldo0_ldo1_ranges[] = {
REGULATOR_LINEAR_RANGE(800000, 0x0, 0x19, 100000), REGULATOR_LINEAR_RANGE(800000, 0x0, 0x19, 100000),
}; };
static unsigned int lp873x_buck_ramp_delay[] = { static const unsigned int lp873x_buck_ramp_delay[] = {
30000, 15000, 10000, 7500, 3800, 1900, 940, 470 30000, 15000, 10000, 7500, 3800, 1900, 940, 470
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment