[PATCH 2/2] cpufreq: scpi: use new scpi_ops functions to remove duplicate code
Viresh Kumar
viresh.kumar at linaro.org
Fri Apr 28 05:24:56 EDT 2017
On 28-04-17, 10:21, Sudeep Holla wrote:
> scpi_ops now provide APIs to get the transition_latency and to add
> OPPs to the devices making those logic redundant here.
>
> This patch makes use of those APIs and removes the redunant code in
> this driver.
>
> Cc: "Rafael J. Wysocki" <rjw at rjwysocki.net>
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Signed-off-by: Sudeep Holla <sudeep.holla at arm.com>
> ---
> drivers/cpufreq/scpi-cpufreq.c | 38 ++++++--------------------------------
> 1 file changed, 6 insertions(+), 32 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
--
viresh
More information about the linux-arm-kernel
mailing list