summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm831x-dcdc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-03-03 23:49:46 +0000
committerMark Brown <broonie@kernel.org>2019-03-03 23:49:46 +0000
commit1aad9f2f79e0e09f3ecdf6787df6021ab3941ce9 (patch)
tree6d98b9475d43d035f597c4139fdd7587b46fae8e /drivers/regulator/wm831x-dcdc.c
parent6c98ac2a347f4849885bd9f966bda50fc25f8d55 (diff)
parentc25d47888f0fb3d836d68322d4aea2caf31a75a6 (diff)
Merge branch 'for-5.0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.1
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
-rw-r--r--drivers/regulator/wm831x-dcdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c
index 4a573eea284a..828f262d6be0 100644
--- a/drivers/regulator/wm831x-dcdc.c
+++ b/drivers/regulator/wm831x-dcdc.c
@@ -304,8 +304,8 @@ static int wm831x_buckv_get_voltage_sel(struct regulator_dev *rdev)
}
/* Current limit options */
-static u16 wm831x_dcdc_ilim[] = {
- 125, 250, 375, 500, 625, 750, 875, 1000
+static const unsigned int wm831x_dcdc_ilim[] = {
+ 125000, 250000, 375000, 500000, 625000, 750000, 875000, 1000000
};
static int wm831x_buckv_set_current_limit(struct regulator_dev *rdev,