From: Viresh Kumar Date: Thu, 4 Dec 2014 04:11:54 +0000 (+0530) Subject: thermal: cpu_cooling: propagate error returned by idr_alloc() X-Git-Tag: fixes-v4.0-rc1~365^2^2~1^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268ac445ee1b2b7c2806e7a21076e6d94aca1ca3;p=pandora-kernel.git thermal: cpu_cooling: propagate error returned by idr_alloc() We aren't supposed to return our own error type here. Return what we got. Signed-off-by: Viresh Kumar Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed