diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2022-11-02 17:21:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-11-03 21:40:58 +0300 |
commit | d9cc34fe0aae7e9df236be046a853fc63e889026 (patch) | |
tree | 8056a9fc110feb08f2a6e3c5f5d36db584dabc11 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 615db6d96c725406ae39e2822e1fbde81ecf1efd (diff) | |
download | linux-d9cc34fe0aae7e9df236be046a853fc63e889026.tar.xz |
PM: domains: Consolidate genpd_restore_noirq() and genpd_resume_noirq()
Most of the logic between genpd_restore_noirq() and genpd_resume_noirq()
are identical. The suspended_count decrement for restore should be the
right thing to do anyway, considering there is an increment in
genpd_finish_suspend() for hibernation. So consolidate these two
functions into genpd_finish_resume().
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions