commit | 4f688748c958deb947759773be6dffe6b44d084d | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Apr 26 10:53:03 2018 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon May 14 22:58:44 2018 +0200 |
tree | f403d602c8e114a33618ba35d36b1ceb22a0de01 | |
parent | b56d9c9135629632faff44cff153784e76b82550 [diff] |
PM / Domains: Check for existing PM domain in dev_pm_domain_attach() Instead of checking if an existing PM domain pointer has been assigned in genpd_dev_pm_attach() and acpi_dev_pm_attach(), move the check to the common path in dev_pm_domain_attach(), thus potentially avoid one unnecessary check. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>