diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-10-11 05:30:24 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-11 15:49:12 +0400 |
commit | e277e656804c85a0729d4fd8cdd3c8ab3e6b3b86 (patch) | |
tree | a92f29fb7c735cb4cf918059d1773d5110a38bf3 /include/linux/regulator | |
parent | 813de3c649d6c6ff14c930de9fcd161c0062fabd (diff) | |
download | linux-e277e656804c85a0729d4fd8cdd3c8ab3e6b3b86.tar.xz |
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>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 9bdad43ad228..997ff5c4d880 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -46,14 +46,12 @@ enum regulator_status { * regulator_list_linear_range(). * * @min_uV: Lowest voltage in range - * @max_uV: Highest voltage in range * @min_sel: Lowest selector for range * @max_sel: Highest selector for range * @uV_step: Step size */ struct regulator_linear_range { unsigned int min_uV; - unsigned int max_uV; unsigned int min_sel; unsigned int max_sel; unsigned int uV_step; |