RE: [PATCH] regulator: lp872x: Simplify implementation oflp872x_find_regulator_init_data()

From: Kim, Milo
Date: Sun Jul 15 2012 - 20:18:27 EST


> Pass regulator id rahter than the index to
> lp872x_find_regulator_init_data(),
> then the code can be simpler.
> We can also get max_regulators by lp->num_regulators.

It looks good to me and tested successfully in the target board.
Thanks !

Acked-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>
Tested-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>

Best Regards,
Milo
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i