From: Viresh Kumar Date: Thu, 4 Dec 2014 04:11:58 +0000 (+0530) Subject: thermal: cpu_cooling: do error handling at the bottom in __cpufreq_cooling_register() X-Git-Tag: fixes-v4.0-rc1~365^2^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=730abe064b6f8860302b75a689ceed059c08e0b1;p=pandora-kernel.git thermal: cpu_cooling: do error handling at the bottom in __cpufreq_cooling_register() This makes life easy and bug free. And is scalable for future resource allocations. Acked-by: Javi Merino Signed-off-by: Viresh Kumar Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed