regulator: rc5t583: Remove nsteps from struct rc5t583_regulator_info
authorAxel Lin <axel.lin@gmail.com>
Thu, 5 Apr 2012 06:04:48 +0000 (14:04 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 10:07:23 +0000 (11:07 +0100)
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>

No differences found