Re: [PATCH] regulator: lp872x: Simplify implementation of lp872x_find_regulator_init_data()
On Sun, Jul 15, 2012 at 04:57:12PM +0800, Axel Lin wrote: > 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.