From: Shuah Khan Date: Tue, 7 May 2013 23:14:32 +0000 (+0200) Subject: PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data() X-Git-Tag: v3.10-rc2~15^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5e1670afe0c886d6dd92afb7a1f085f88294dc8;p=pandora-kernel.git PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data() Fix dev_pm_put_subsys_data() so that it doesn't call kfree() under a spinlock and make it return 1 whenever it leaves NULL power.subsys_data (regardless of the reason). Signed-off-by: Shuah Khan Reviewed-by: Pavel Machek Acked-by: Greg Kroah-Hartman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed