diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-05 10:04:48 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-05 14:07:23 +0400 |
commit | e3a7384c3e98c48b5f122e449e22cc8a1a6c7e0d (patch) | |
tree | 3bfe325f5655f27cb23bc17e6518814a215dbf35 /samples | |
parent | 9cc7a453b637d8c1f628f9873204ff55d7aa664c (diff) | |
download | linux-e3a7384c3e98c48b5f122e449e22cc8a1a6c7e0d.tar.xz |
regulator: rc5t583: Remove nsteps from struct rc5t583_regulator_info
The nsteps can be calculated by (_max_mv - _min_mv) * 1000 / _step_uV + 1,
thus we can remove _nsteps from RC5T583_REG macro, and then remove
nsteps from struct rc5t583_regulator_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 'samples')
0 files changed, 0 insertions, 0 deletions