diff options
author | 2016-05-30 11:43:08 +0200 | |
---|---|---|
committer | 2016-06-16 15:01:43 +0200 | |
commit | 800188538965d90759cea13bcb4f87a214cf5c53 (patch) | |
tree | 1340e440b072d132fe2dd86258699b0cb2e1c3b9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PM / Domains: Allow genpd to power on during system PM phases (diff) | |
download | linux-dev-800188538965d90759cea13bcb4f87a214cf5c53.tar.xz linux-dev-800188538965d90759cea13bcb4f87a214cf5c53.zip |
PM / Domains: Remove redundant wrapper functions for system PM
Due to the previous changes in genpd, which removed the suspend_power_off
flag, several of the system PM callbacks no longer do any additional
checks but only invoke corresponding pm_generic_* helper functions.
To clean up the code, drop these wrapper functions as they have
become redundant. Instead, assign the system PM callbacks directly
to the pm_generic_*() helper functions.
While changing this, it has bocame clear that some of the current
system PM callbacks in genpd invoke wrong driver callbacks. For
example, the genpd's ->restore() callback invokes pm_generic_resume(),
while that should be pm_generic_restore(). Fix that as well.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions