Commit 3b26e483 authored by Yunfan Zhang's avatar Yunfan Zhang Committed by Mark Brown

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: default avatarYunfan Zhang <yfzhang@marvell.com>
Reviewed-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e4c5288e
...@@ -74,7 +74,6 @@ struct fan53555_device_info { ...@@ -74,7 +74,6 @@ struct fan53555_device_info {
unsigned int sleep_reg; unsigned int sleep_reg;
/* Voltage range and step(linear) */ /* Voltage range and step(linear) */
unsigned int vsel_min; unsigned int vsel_min;
unsigned int vsel_max;
unsigned int vsel_step; unsigned int vsel_step;
/* Voltage slew rate limiting */ /* Voltage slew rate limiting */
unsigned int slew_rate; unsigned int slew_rate;
...@@ -180,12 +179,10 @@ static int fan53555_device_setup(struct fan53555_device_info *di, ...@@ -180,12 +179,10 @@ static int fan53555_device_setup(struct fan53555_device_info *di,
case FAN53555_CHIP_ID_03: case FAN53555_CHIP_ID_03:
case FAN53555_CHIP_ID_05: case FAN53555_CHIP_ID_05:
di->vsel_min = 600000; di->vsel_min = 600000;
di->vsel_max = 1230000;
di->vsel_step = 10000; di->vsel_step = 10000;
break; break;
case FAN53555_CHIP_ID_04: case FAN53555_CHIP_ID_04:
di->vsel_min = 603000; di->vsel_min = 603000;
di->vsel_max = 1411000;
di->vsel_step = 12826; di->vsel_step = 12826;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment