diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-06-29 13:04:32 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-09 12:11:02 +0200 |
commit | 27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00 (patch) | |
tree | 9f66e6b98015b5ebf2e1939029907e3286861151 /net/netfilter/ipvs/Kconfig | |
parent | 5d6be70add65e3f236642ab0029e356261617cd0 (diff) | |
download | linux-stable-27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00.tar.gz linux-stable-27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00.tar.bz2 linux-stable-27dceb81f445c58b1d10d27d26eaf4ac2e9e0b00.zip |
PM / Domains: Introduce dev_pm_domain_attach_by_name()
For the multiple PM domain case, let's introduce a new API called
dev_pm_domain_attach_by_name(). This allows a consumer driver to associate
its device with one of its PM domains, by using a name based lookup.
Do note that, currently it's only genpd that supports multiple PM domains
per device, but dev_pm_domain_attach_by_name() can easily by extended to
cover other PM domain types, if/when needed.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/netfilter/ipvs/Kconfig')
0 files changed, 0 insertions, 0 deletions