OSDN Git Service

opp: Update parameters of _set_opp_custom()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Jan 2021 07:36:01 +0000 (13:06 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 04:58:03 +0000 (10:28 +0530)
commit509e4777ca41d30808deda5ae3c1e09e3f58a33f
tree0498625b93dce27bd10af495766bdb101ae8aa8c
parent35e74b2ee8ec64da6f8067c5b0744f16ff19915b
opp: Update parameters of  _set_opp_custom()

Drop the unnecessary parameters and follow the pattern from
_generic_set_opp_regulator().

While at it, also remove the local variable old_freq.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
drivers/opp/core.c