From: Rafael J. Wysocki Date: Mon, 4 Oct 2010 20:08:01 +0000 (+0200) Subject: PM / Runtime: Reduce code duplication in core helper functions X-Git-Tag: v2.6.37-rc1~185^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c63122c4609a917f14a79c32067a68909fc487;p=pandora-kernel.git PM / Runtime: Reduce code duplication in core helper functions Reduce code duplication in rpm_idle(), rpm_suspend() and rpm_resume() by using local pointers to store callback addresses and moving some duplicated code into a separate function. Signed-off-by: Rafael J. Wysocki Reviewed-by: Alan Stern --- Reading git-diff-tree failed