Re: [PATCH RFC/RFT] regulator: ab3100: Useregulator_map_voltage_iterate()

From: Mark Brown
Date: Fri May 18 2012 - 03:40:19 EST


On Thu, May 17, 2012 at 01:06:18PM +0800, Axel Lin wrote:
> regulator_map_voltage_iterate() is for drivers implementing set_voltage_sel()
> and list_voltage() to use it as their map_voltage() operation.
>
> In this case, regulator_map_voltage_iterate() happen to be doing the same thing
> as ab3100_get_best_voltage_index() function. So we can use it to replace
> ab3100_get_best_voltage_index() function.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature