diff options
| author | Ulf Hansson <[email protected]> | 2016-05-30 09:43:08 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-06-16 13:01:43 +0000 |
| commit | 800188538965d90759cea13bcb4f87a214cf5c53 (patch) | |
| tree | 1340e440b072d132fe2dd86258699b0cb2e1c3b9 /fs/jbd2/commit.c | |
| parent | PM / Domains: Allow genpd to power on during system PM phases (diff) | |
| download | kernel-800188538965d90759cea13bcb4f87a214cf5c53.tar.gz kernel-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 <[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
