diff options
| author | Ulf Hansson <[email protected]> | 2016-05-30 09:33:11 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-06-16 13:14:34 +0000 |
| commit | 9b002b8f0e386966dfc2dddf47eebed3b71ef876 (patch) | |
| tree | b2449abe0b0676edb02c2f5580fe9a61f5828b63 /fs/jbd2/commit.c | |
| parent | PM / Domains: Remove redundant wrapper functions for system PM (diff) | |
| download | kernel-9b002b8f0e386966dfc2dddf47eebed3b71ef876.tar.gz kernel-9b002b8f0e386966dfc2dddf47eebed3b71ef876.zip | |
PM / Domains: Remove redundant pm_request_idle() call in genpd
The PM core increases the runtime PM usage count at the system PM prepare
phase. Later when the system resumes, it does a pm_runtime_put() in the
complete phase, which in addition to decrementing the usage count, does
the equivalent of a pm_request_idle().
Therefore the call to pm_request_idle() from within genpd's ->complete()
callback is redundant, so remove it.
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
