commit | e3a7384c3e98c48b5f122e449e22cc8a1a6c7e0d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Apr 05 14:04:48 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Apr 05 11:07:23 2012 +0100 |
tree | 3bfe325f5655f27cb23bc17e6518814a215dbf35 | |
parent | 9cc7a453b637d8c1f628f9873204ff55d7aa664c [diff] |
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>