Re: [PATCH v8 09/10] soc: qcom: rpmpd: Use simple_opp_to_performance_state() helper

2018-12-21 Thread Ulf Hansson
On Fri, 21 Dec 2018 at 09:57, Rajendra Nayak wrote: > > Get rid of the duplicate code across rpmpd and rpmhpd to read the > performance state value from Device tree and use the > simple_opp_to_performance_state() helper instead. > > Suggested-by: Stephen Boyd > Signed-off-by: Rajendra Nayak >

[PATCH v8 09/10] soc: qcom: rpmpd: Use simple_opp_to_performance_state() helper

2018-12-21 Thread Rajendra Nayak
Get rid of the duplicate code across rpmpd and rpmhpd to read the performance state value from Device tree and use the simple_opp_to_performance_state() helper instead. Suggested-by: Stephen Boyd Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd --- drivers/soc/qcom/rpmhpd.c | 11