diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-03-13 00:33:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-13 15:13:59 +0000 |
commit | d48acfd0377f901f348b6c48bdcc03723f19d9e7 (patch) | |
tree | 93aa370cc6882e7b16dadd21a4ebd6b478a623bb /include/linux/mfd/wm831x | |
parent | 5816df2f75f52f74b6fe48b1b20579acd4dfe8fb (diff) | |
download | kernel_replicant_linux-d48acfd0377f901f348b6c48bdcc03723f19d9e7.tar.gz kernel_replicant_linux-d48acfd0377f901f348b6c48bdcc03723f19d9e7.tar.bz2 kernel_replicant_linux-d48acfd0377f901f348b6c48bdcc03723f19d9e7.zip |
regulator: wm831x-isink: Convert to use regulator_set/get_current_limit_regmap
Use regulator_set/get_current_limit_regmap helpers to save some code.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd/wm831x')
-rw-r--r-- | include/linux/mfd/wm831x/regulator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/wm831x/regulator.h b/include/linux/mfd/wm831x/regulator.h index 955d30fc6a27..30c587a0624c 100644 --- a/include/linux/mfd/wm831x/regulator.h +++ b/include/linux/mfd/wm831x/regulator.h @@ -1213,6 +1213,6 @@ #define WM831X_LDO1_OK_WIDTH 1 /* LDO1_OK */ #define WM831X_ISINK_MAX_ISEL 55 -extern int wm831x_isinkv_values[WM831X_ISINK_MAX_ISEL + 1]; +extern const unsigned int wm831x_isinkv_values[WM831X_ISINK_MAX_ISEL + 1]; #endif |