From: Ming Lei Date: Fri, 17 Aug 2012 14:06:59 +0000 (+0800) Subject: PM / Sleep: introduce dpm_for_each_dev X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~76^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe3212e0196c01402154971841463d721dea915;p=pandora-kernel.git PM / Sleep: introduce dpm_for_each_dev dpm_list and its pm lock provide a good way to iterate all devices in system. Except this way, there is no other easy way to iterate devices in system. firmware loader need to cache firmware images for devices before system sleep, so introduce the function to meet its demand. Reported-by: Fengguang Wu Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed