]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PM / Domains: Remove ->save|restore_state() callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 31 Mar 2016 09:21:27 +0000 (11:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Apr 2016 00:29:17 +0000 (02:29 +0200)
commit54eeddbf92d0de297d78f7419dde00079d553dec
treeb79806baf6968ec01b59dc0553a79912ee7dea5b
parent795bd2e7e86967ced927948eff08fe8201ba5fc3
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>
drivers/base/power/domain.c
include/linux/pm_domain.h