From: Ulf Hansson Date: Tue, 27 Jan 2015 20:13:41 +0000 (+0100) Subject: PM / Domains: Don't check for an existing device when adding a new X-Git-Tag: fixes-v4.0-rc1~160^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07b45cb98839aa972c099ffd5fc5eb2ff1b2e26;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed