diff options
author | Yunfan Zhang <yfzhang@marvell.com> | 2012-09-09 23:40:24 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-10 03:58:01 -0400 |
commit | 3b26e48308feaf428efb917f8de217797bfedb26 (patch) | |
tree | 9dbbba74f34cd256ec0f795bfc057acdf2d389e7 /drivers/regulator | |
parent | e4c5288e410440abcc3e2e1887111b09a98304d5 (diff) |
regulator: fan53555: remove vsel_max not used
The max voltage will be bounded by min_uV, uV_step and n_voltages, so
remove it to avoid confusing.
Signed-off-by: Yunfan Zhang <yfzhang@marvell.com>
Reviewed-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/fan53555.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 890f2b34b39a..339f4d732e97 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c | |||
@@ -74,7 +74,6 @@ struct fan53555_device_info { | |||
74 | unsigned int sleep_reg; | 74 | unsigned int sleep_reg; |
75 | /* Voltage range and step(linear) */ | 75 | /* Voltage range and step(linear) */ |
76 | unsigned int vsel_min; | 76 | unsigned int vsel_min; |
77 | unsigned int vsel_max; | ||
78 | unsigned int vsel_step; | 77 | unsigned int vsel_step; |
79 | /* Voltage slew rate limiting */ | 78 | /* Voltage slew rate limiting */ |
80 | unsigned int slew_rate; | 79 | unsigned int slew_rate; |
@@ -180,12 +179,10 @@ static int fan53555_device_setup(struct fan53555_device_info *di, | |||
180 | case FAN53555_CHIP_ID_03: | 179 | case FAN53555_CHIP_ID_03: |
181 | case FAN53555_CHIP_ID_05: | 180 | case FAN53555_CHIP_ID_05: |
182 | di->vsel_min = 600000; | 181 | di->vsel_min = 600000; |
183 | di->vsel_max = 1230000; | ||
184 | di->vsel_step = 10000; | 182 | di->vsel_step = 10000; |
185 | break; | 183 | break; |
186 | case FAN53555_CHIP_ID_04: | 184 | case FAN53555_CHIP_ID_04: |
187 | di->vsel_min = 603000; | 185 | di->vsel_min = 603000; |
188 | di->vsel_max = 1411000; | ||
189 | di->vsel_step = 12826; | 186 | di->vsel_step = 12826; |
190 | break; | 187 | break; |
191 | default: | 188 | default: |