regulator: mt6380: Use unsigned int for volt_tables
authorAxel Lin <axel.lin@ingics.com>
Wed, 6 Mar 2019 01:43:31 +0000 (09:43 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:11:23 +0000 (12:11 +0000)
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>
drivers/regulator/mt6380-regulator.c

index 127dd720cbcc029f022f141158dec1313242b8b7..86bc332df3f2233c74ee03d5b26acf445e008ce1 100644 (file)
@@ -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,
 };