summaryrefslogtreecommitdiff
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-20 15:57:21 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 10:27:50 +0530
commit1d3c42cabbd351e9c171e906603b5cc2ea513640 (patch)
treedc0547e63825c81c9f02a80d01347592226eb83f /drivers/opp/opp.h
parent5ad58bbacf802f7d11cadd76881311d6e4b2bce0 (diff)
opp: No need to check clk for errors
Clock is not optional for users who call into dev_pm_opp_set_rate(). Remove the unnecessary checks. While at it also drop the local variable for clk and use opp_table->clk instead. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Tested-by: Dmitry Osipenko <digetx@gmail.com>
Diffstat (limited to 'drivers/opp/opp.h')
0 files changed, 0 insertions, 0 deletions