diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-01-20 11:27:21 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-02-02 05:57:50 +0100 |
commit | 1d3c42cabbd351e9c171e906603b5cc2ea513640 (patch) | |
tree | dc0547e63825c81c9f02a80d01347592226eb83f /drivers/opp/opp.h | |
parent | opp: Rename _opp_set_rate_zero() (diff) | |
download | linux-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