[lkml]   [2012]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH RFC/RFT] regulator: ab3100: Use regulator_map_voltage_iterate()
On Thu, May 17, 2012 at 7:06 AM, 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.
> Signed-off-by: Axel Lin <>

Acked-by: Linus Walleij <>

I think Mark already applied it too, great!

Linus Walleij

 \ /
  Last update: 2012-05-20 23:41    [W:0.040 / U:19.244 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site