From: Ulf Hansson Date: Sat, 1 Mar 2014 10:56:04 +0000 (+0100) Subject: PM / runtime: Fetch runtime PM callbacks using a macro X-Git-Tag: v3.15-rc1~151^2~5^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f59df79837bb809f3945613aba5519cd9755a53;p=pandora-kernel.git PM / runtime: Fetch runtime PM callbacks using a macro While fetching the proper runtime PM callback, we walk the hierarchy of device's power domains, subsystems and drivers. This is common for rpm_suspend(), rpm_idle() and rpm_resume(). Let's clean up the code by using a macro that handles this. Signed-off-by: Ulf Hansson Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed