OSDN Git Service

opp: Remove dev_pm_opp_set_bw()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Jan 2021 09:57:55 +0000 (15:27 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 05:00:53 +0000 (10:30 +0530)
commit240ae50e23061cd1fe1937daab195c17226ffd2e
tree790d346df0538c4563f5f02556314ab2b92cff9e
parentc7f142190d91a7e8b3df0a6ef9fabb591fb83c71
opp: Remove dev_pm_opp_set_bw()

All the users have migrated to dev_pm_opp_set_opp() now, get rid of the
duplicate API, dev_pm_opp_set_bw(), which only performs a part of the new API.

While at it, remove the unnecessary parameter to _set_opp_bw().

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