diff options
author | Jon Hunter | 2016-09-12 13:01:14 +0200 |
---|---|---|
committer | Rafael J. Wysocki | 2016-09-13 02:49:34 +0200 |
commit | 17926551c98a4ff5d7fa3a574c60534fedb3f2c6 (patch) | |
tree | 8f51ba0eb167423bf3913d8b2608000b88217437 /include/linux/i2c-mux-pinctrl.h | |
parent | PM / Domains: Add support for removing PM domains (diff) | |
download | kernel-qcow2-linux-17926551c98a4ff5d7fa3a574c60534fedb3f2c6.tar.gz kernel-qcow2-linux-17926551c98a4ff5d7fa3a574c60534fedb3f2c6.tar.xz kernel-qcow2-linux-17926551c98a4ff5d7fa3a574c60534fedb3f2c6.zip |
PM / Domains: Add support for removing nested PM domains by provider
If a device supports PM domains that are subdomains of another PM
domain, then the PM domains should be removed in reverse order to
ensure that the subdomains are removed first. Furthermore, if there is
more than one provider, then there needs to be a way to remove the
domains in reverse order for a specific provider.
Add the function of_genpd_remove_last() to remove the last PM domain
added by a given PM domain provider and return the generic_pm_domain
structure for the PM domain that was removed.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/i2c-mux-pinctrl.h')
0 files changed, 0 insertions, 0 deletions