commit | e07b45cb98839aa972c099ffd5fc5eb2ff1b2e26 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Tue Jan 27 21:13:41 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Feb 03 22:56:53 2015 +0100 |
tree | 70e3b561bc011d329f52f0a44d08d991a4dcbc95 | |
parent | 14b530648834c9ec9853954750957bab0f792538 [diff] |
PM / Domains: Don't check for an existing device when adding a new When adding a device to a genpd, we no longer need to walk genpd's list of existing devices to verify it hasn't already been added. Instead we can now rely on the verification of not allowing existing generic_pm_domain_data for a device, since that has the same meaning. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>