diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-21 12:45:46 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-22 11:13:22 +0200 |
commit | f6442aa0b503f944907b869659dd27756c809488 (patch) | |
tree | b5b1294cde11169d1b94d5e98769520c839d47b2 /drivers/edac/i82443bxgx_edac.c | |
parent | regulator: change message level on probing lp872x driver (diff) | |
download | linux-f6442aa0b503f944907b869659dd27756c809488.tar.xz linux-f6442aa0b503f944907b869659dd27756c809488.zip |
regulator: tps65910: Remove unused min_uV and max_uV from struct tps_info
The min_uV and max_uV fields of struct tps_info are not used in the code.
For the case voltage_table is provided, the min_uV and max_uV are the same
values as volt_table[0] and volt_table[n_voltages -1].
For the case voltage_table is not available, having the min_uV and max_uV seems
misleading. Current code uses equations to get the voltage value in this case,
but these equations do not use the min_uV and max_uV fields of struct tps_info.
Thus this patch removes the min_uV and max_uV fields from struct tps_info.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/edac/i82443bxgx_edac.c')
0 files changed, 0 insertions, 0 deletions