> 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....@ti.com> Tested-by: Milo(Woogyom) Kim <milo....@ti.com> Best Regards, Milo