summaryrefslogtreecommitdiff
path: root/drivers/regulator/mt6380-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-03-06 04:43:31 +0300
committerMark Brown <broonie@kernel.org>2019-03-18 15:11:23 +0300
commit1fc26296a26088442fefc489de94d8592e013375 (patch)
treefd330d55b89332563073f09534517736cdb312ce /drivers/regulator/mt6380-regulator.c
parentdad110a0c5c1a26782af571d49c439d6fd245901 (diff)
downloadlinux-1fc26296a26088442fefc489de94d8592e013375.tar.xz
regulator: mt6380: Use unsigned int for volt_tables
Make it consistent as .volt_table should be const unsigned int *. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mt6380-regulator.c')
-rw-r--r--drivers/regulator/mt6380-regulator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/mt6380-regulator.c b/drivers/regulator/mt6380-regulator.c
index 127dd720cbcc..86bc332df3f2 100644
--- a/drivers/regulator/mt6380-regulator.c
+++ b/drivers/regulator/mt6380-regulator.c
@@ -173,19 +173,19 @@ static const struct regulator_linear_range buck_volt_range3[] = {
REGULATOR_LINEAR_RANGE(1200000, 0, 0x3c, 25000),
};
-static const u32 ldo_volt_table1[] = {
+static const unsigned int ldo_volt_table1[] = {
1400000, 1350000, 1300000, 1250000, 1200000, 1150000, 1100000, 1050000,
};
-static const u32 ldo_volt_table2[] = {
+static const unsigned int ldo_volt_table2[] = {
2200000, 3300000,
};
-static const u32 ldo_volt_table3[] = {
+static const unsigned int ldo_volt_table3[] = {
1240000, 1390000, 1540000, 1840000,
};
-static const u32 ldo_volt_table4[] = {
+static const unsigned int ldo_volt_table4[] = {
2200000, 3300000,
};