diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2016-03-31 11:21:27 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-22 02:29:17 +0200 |
commit | 54eeddbf92d0de297d78f7419dde00079d553dec (patch) | |
tree | b79806baf6968ec01b59dc0553a79912ee7dea5b /include/linux/pm_domain.h | |
parent | 795bd2e7e86967ced927948eff08fe8201ba5fc3 (diff) | |
download | linux-54eeddbf92d0de297d78f7419dde00079d553dec.tar.gz linux-54eeddbf92d0de297d78f7419dde00079d553dec.tar.bz2 linux-54eeddbf92d0de297d78f7419dde00079d553dec.zip |
PM / Domains: Remove ->save|restore_state() callbacks
As a part of the ongoing consolidation of genpd, it's become questionable
whether clients actually needs to be able to assign their own set of
->save|restore_state() callbacks. Currently all users copes fine with the
default callbacks, so let's remove the configuration option and stick to
the default ones.
This enables further clarifications of the related code and let's also
rename pm_genpd_default_save|restore_state() into
__genpd_runtime_suspend|resume() to apply the rule of static functionnames
in genpd.
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 'include/linux/pm_domain.h')
-rw-r--r-- | include/linux/pm_domain.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index e91393954384..39285c7bd3f5 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -34,8 +34,6 @@ struct dev_power_governor { struct gpd_dev_ops { int (*start)(struct device *dev); int (*stop)(struct device *dev); - int (*save_state)(struct device *dev); - int (*restore_state)(struct device *dev); bool (*active_wakeup)(struct device *dev); }; |