Re: [PATCH v2 4/5] regulator: qcom: Refactor of-parsing code

2015-04-02 Thread Stephen Boyd
On 04/01/15 15:55, Bjorn Andersson wrote: > Refactor out all custom property parsing code from the probe function > into a function suitable for regulator_desc->of_parse_cb usage. > > Signed-off-by: Bjorn Andersson > Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of

[PATCH v2 4/5] regulator: qcom: Refactor of-parsing code

2015-04-01 Thread Bjorn Andersson
Refactor out all custom property parsing code from the probe function into a function suitable for regulator_desc->of_parse_cb usage. Signed-off-by: Bjorn Andersson --- drivers/regulator/qcom_rpm-regulator.c | 141 +++-- 1 file changed, 81 insertions(+), 60 deletions(