Re: [PATCH 1/2] regulator: rc5t583: Remove nsteps from struct rc5t583_regulator_info

From: Laxman Dewangan
Date: Thu Apr 05 2012 - 03:08:09 EST


On Thursday 05 April 2012 11:34 AM, Axel Lin wrote:
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@xxxxxxxxx>
---

Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/