PM / QOS: Rename __dev_pm_qos_read_value() and dev_pm_qos_raw_read_value()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Jul 2019 07:36:18 +0000 (13:06 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jul 2019 08:40:54 +0000 (10:40 +0200)
commit8262331eaaf751076fb2c781f492bafd8344591d
treefd32e6cc15962147ae3ce0b5cafa9d1b93c4dff5
parent0b07ee944701dabcddc294d903b5e8e21c2c5d95
PM / QOS: Rename __dev_pm_qos_read_value() and dev_pm_qos_raw_read_value()

dev_pm_qos_read_value() will soon need to support more constraint types
(min/max frequency) and will have another argument to it, i.e. type of
the constraint. While that is fine for the existing users of
dev_pm_qos_read_value(), but not that optimal for the callers of
__dev_pm_qos_read_value() and dev_pm_qos_raw_read_value() as all the
callers of these two routines are only looking for resume latency
constraint.

Lets make these two routines care only about the resume latency
constraint and rename them to __dev_pm_qos_resume_latency() and
dev_pm_qos_raw_resume_latency().

Suggested-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain_governor.c
drivers/base/power/qos.c
drivers/base/power/runtime.c
drivers/cpuidle/governor.c
include/linux/pm_qos.h