diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-30 11:43:08 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-06-16 15:01:43 +0200 |
commit | 800188538965d90759cea13bcb4f87a214cf5c53 (patch) | |
tree | 1340e440b072d132fe2dd86258699b0cb2e1c3b9 /drivers/base/platform-msi.c | |
parent | 39dd0f234fc37da071dadbd9b49fe800d62139b4 (diff) |
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 'drivers/base/platform-msi.c')
0 files changed, 0 insertions, 0 deletions