From: Jon Hunter Date: Thu, 3 Sep 2015 08:10:37 +0000 (+0100) Subject: PM / Domains: Ensure subdomain is not in use before removing X-Git-Tag: omap-for-v4.3/fixes-rc1~23^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e7a65b3fdb53cc49f85c965095e40aceea3961;p=pandora-kernel.git PM / Domains: Ensure subdomain is not in use before removing The function pm_genpd_remove_subdomain() removes a subdomain from a generic PM domain, however, it does not check if the subdomain has any slave domains or device attached before doing so. Therefore, add a test to verify that the subdomain does not have any slave domains associated or any device attached before removing. Signed-off-by: Jon Hunter Acked-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed