diff options
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
-rw-r--r-- | drivers/regulator/mc13783-regulator.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c index 7dcdfa283e93..4932e3449fe1 100644 --- a/drivers/regulator/mc13783-regulator.c +++ b/drivers/regulator/mc13783-regulator.c | |||
@@ -93,78 +93,78 @@ | |||
93 | 93 | ||
94 | 94 | ||
95 | /* Voltage Values */ | 95 | /* Voltage Values */ |
96 | static const int mc13783_sw3_val[] = { | 96 | static const unsigned int mc13783_sw3_val[] = { |
97 | 5000000, 5000000, 5000000, 5500000, | 97 | 5000000, 5000000, 5000000, 5500000, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | static const int mc13783_vaudio_val[] = { | 100 | static const unsigned int mc13783_vaudio_val[] = { |
101 | 2775000, | 101 | 2775000, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static const int mc13783_viohi_val[] = { | 104 | static const unsigned int mc13783_viohi_val[] = { |
105 | 2775000, | 105 | 2775000, |
106 | }; | 106 | }; |
107 | 107 | ||
108 | static const int mc13783_violo_val[] = { | 108 | static const unsigned int mc13783_violo_val[] = { |
109 | 1200000, 1300000, 1500000, 1800000, | 109 | 1200000, 1300000, 1500000, 1800000, |
110 | }; | 110 | }; |
111 | 111 | ||
112 | static const int mc13783_vdig_val[] = { | 112 | static const unsigned int mc13783_vdig_val[] = { |
113 | 1200000, 1300000, 1500000, 1800000, | 113 | 1200000, 1300000, 1500000, 1800000, |
114 | }; | 114 | }; |
115 | 115 | ||
116 | static const int mc13783_vgen_val[] = { | 116 | static const unsigned int mc13783_vgen_val[] = { |
117 | 1200000, 1300000, 1500000, 1800000, | 117 | 1200000, 1300000, 1500000, 1800000, |
118 | 1100000, 2000000, 2775000, 2400000, | 118 | 1100000, 2000000, 2775000, 2400000, |
119 | }; | 119 | }; |
120 | 120 | ||
121 | static const int mc13783_vrfdig_val[] = { | 121 | static const unsigned int mc13783_vrfdig_val[] = { |
122 | 1200000, 1500000, 1800000, 1875000, | 122 | 1200000, 1500000, 1800000, 1875000, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static const int mc13783_vrfref_val[] = { | 125 | static const unsigned int mc13783_vrfref_val[] = { |
126 | 2475000, 2600000, 2700000, 2775000, | 126 | 2475000, 2600000, 2700000, 2775000, |
127 | }; | 127 | }; |
128 | 128 | ||
129 | static const int mc13783_vrfcp_val[] = { | 129 | static const unsigned int mc13783_vrfcp_val[] = { |
130 | 2700000, 2775000, | 130 | 2700000, 2775000, |
131 | }; | 131 | }; |
132 | 132 | ||
133 | static const int mc13783_vsim_val[] = { | 133 | static const unsigned int mc13783_vsim_val[] = { |
134 | 1800000, 2900000, 3000000, | 134 | 1800000, 2900000, 3000000, |
135 | }; | 135 | }; |
136 | 136 | ||
137 | static const int mc13783_vesim_val[] = { | 137 | static const unsigned int mc13783_vesim_val[] = { |
138 | 1800000, 2900000, | 138 | 1800000, 2900000, |
139 | }; | 139 | }; |
140 | 140 | ||
141 | static const int mc13783_vcam_val[] = { | 141 | static const unsigned int mc13783_vcam_val[] = { |
142 | 1500000, 1800000, 2500000, 2550000, | 142 | 1500000, 1800000, 2500000, 2550000, |
143 | 2600000, 2750000, 2800000, 3000000, | 143 | 2600000, 2750000, 2800000, 3000000, |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static const int mc13783_vrfbg_val[] = { | 146 | static const unsigned int mc13783_vrfbg_val[] = { |
147 | 1250000, | 147 | 1250000, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static const int mc13783_vvib_val[] = { | 150 | static const unsigned int mc13783_vvib_val[] = { |
151 | 1300000, 1800000, 2000000, 3000000, | 151 | 1300000, 1800000, 2000000, 3000000, |
152 | }; | 152 | }; |
153 | 153 | ||
154 | static const int mc13783_vmmc_val[] = { | 154 | static const unsigned int mc13783_vmmc_val[] = { |
155 | 1600000, 1800000, 2000000, 2600000, | 155 | 1600000, 1800000, 2000000, 2600000, |
156 | 2700000, 2800000, 2900000, 3000000, | 156 | 2700000, 2800000, 2900000, 3000000, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | static const int mc13783_vrf_val[] = { | 159 | static const unsigned int mc13783_vrf_val[] = { |
160 | 1500000, 1875000, 2700000, 2775000, | 160 | 1500000, 1875000, 2700000, 2775000, |
161 | }; | 161 | }; |
162 | 162 | ||
163 | static const int mc13783_gpo_val[] = { | 163 | static const unsigned int mc13783_gpo_val[] = { |
164 | 3100000, | 164 | 3100000, |
165 | }; | 165 | }; |
166 | 166 | ||
167 | static const int mc13783_pwgtdrv_val[] = { | 167 | static const unsigned int mc13783_pwgtdrv_val[] = { |
168 | 5500000, | 168 | 5500000, |
169 | }; | 169 | }; |
170 | 170 | ||
@@ -328,7 +328,7 @@ static struct regulator_ops mc13783_gpo_regulator_ops = { | |||
328 | .enable = mc13783_gpo_regulator_enable, | 328 | .enable = mc13783_gpo_regulator_enable, |
329 | .disable = mc13783_gpo_regulator_disable, | 329 | .disable = mc13783_gpo_regulator_disable, |
330 | .is_enabled = mc13783_gpo_regulator_is_enabled, | 330 | .is_enabled = mc13783_gpo_regulator_is_enabled, |
331 | .list_voltage = mc13xxx_regulator_list_voltage, | 331 | .list_voltage = regulator_list_voltage_table, |
332 | .set_voltage = mc13xxx_fixed_regulator_set_voltage, | 332 | .set_voltage = mc13xxx_fixed_regulator_set_voltage, |
333 | .get_voltage = mc13xxx_fixed_regulator_get_voltage, | 333 | .get_voltage = mc13xxx_fixed_regulator_get_voltage, |
334 | }; | 334 | }; |