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

From: Kim, Milo
Date: Sun Jul 15 2012 - 20:02:06 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-off-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>
Tested-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>

Best Regards,
Milo
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—