summaryrefslogtreecommitdiffstats
path: root/drivers/opp/opp.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2021-01-20 11:27:21 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2021-02-02 05:57:50 +0100
commit1d3c42cabbd351e9c171e906603b5cc2ea513640 (patch)
treedc0547e63825c81c9f02a80d01347592226eb83f /drivers/opp/opp.h
parentopp: Rename _opp_set_rate_zero() (diff)
downloadlinux-1d3c42cabbd351e9c171e906603b5cc2ea513640.tar.xz
linux-1d3c42cabbd351e9c171e906603b5cc2ea513640.zip
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