regulator: Remove max_uV from struct regulator_linear_range
linear ranges means each range has linear voltage settings. So we can calculate max_uV for each linear range in regulator core rather than set the max_uV field in drivers. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
@@ -441,7 +441,6 @@ static struct regulator_ops as3722_ldo3_extcntrl_ops = {
|
||||
.max_sel = _max_sel, \
|
||||
.uV_step = _step_uV, \
|
||||
.min_uV = _min_uV, \
|
||||
.max_uV = _min_uV + (_max_sel - _min_sel) * _step_uV, \
|
||||
}
|
||||
|
||||
static const struct regulator_linear_range as3722_ldo_ranges[] = {
|
||||
|
Reference in New Issue
Block a user