summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-02-21 23:01:11 +0800
committerMark Brown <broonie@kernel.org>2019-02-21 18:53:21 +0000
commit921b2b3acc0664e1c78b6d9e383be224de74103d (patch)
tree1badf55a3860a566828fe27170b3ce70b79e606b /drivers/regulator
parent36a495bf435bc9a388b6d769baacaf45ae7c3a7f (diff)
downloadtalos-op-linux-921b2b3acc0664e1c78b6d9e383be224de74103d.tar.gz
talos-op-linux-921b2b3acc0664e1c78b6d9e383be224de74103d.zip
regulator: lp873x: Constify lp873x_buck_ramp_delay array
The lp873x_buck_ramp_delay should never change, make it const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/lp873x-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp873x-regulator.c b/drivers/regulator/lp873x-regulator.c
index 2ec5e833c379..70651fec8fd9 100644
--- a/drivers/regulator/lp873x-regulator.c
+++ b/drivers/regulator/lp873x-regulator.c
@@ -61,7 +61,7 @@ static const struct regulator_linear_range ldo0_ldo1_ranges[] = {
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
};
OpenPOWER on IntegriCloud