From: Rafael J. Wysocki Date: Mon, 6 Aug 2012 23:11:14 +0000 (+0200) Subject: PM / Domains: Add power-on function using names to identify domains X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~39^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc0251de2932e603f8ed73b76ba2d64b2dc1d18;p=pandora-kernel.git PM / Domains: Add power-on function using names to identify domains It sometimes is necessary to turn on a given PM domain when only the name of it is known and the domain pointer is not readily available. For this reason, add a new helper function, pm_genpd_name_poweron(), allowing the caller to turn on a PM domain using its name for identification. To avoid code duplication, move the domain lookup code to a separate function. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed