PM / Domains: remove old power on/off latencies
Now that all known users have been converted to use state latencies, we can remove the latency field in the generic_pm_domain structure. Signed-off-by: Axel Haslam <ahaslam+renesas@baylibre.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
eaa2d73ef9
commit
90e63452ac
@@ -1523,14 +1523,8 @@ void pm_genpd_init(struct generic_pm_domain *genpd,
|
||||
}
|
||||
|
||||
/* Use only one "off" state if there were no states declared */
|
||||
if (genpd->state_count == 0) {
|
||||
genpd->states[0].power_on_latency_ns =
|
||||
genpd->power_on_latency_ns;
|
||||
genpd->states[0].power_off_latency_ns =
|
||||
genpd->power_off_latency_ns;
|
||||
|
||||
if (genpd->state_count == 0)
|
||||
genpd->state_count = 1;
|
||||
}
|
||||
|
||||
mutex_lock(&gpd_list_lock);
|
||||
list_add(&genpd->gpd_list_node, &gpd_list);
|
||||
|
Reference in New Issue
Block a user