From: Ben Dooks Date: Tue, 1 Jul 2008 13:18:27 +0000 (+0100) Subject: [ARM] 5141/1: PWM: pwm_request() should return an PTR_ERR() instead of NULL. X-Git-Tag: v2.6.27-rc1~1095^2^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43bda1a6d218744382547a2f8be3240d1c3a151b;p=pandora-kernel.git [ARM] 5141/1: PWM: pwm_request() should return an PTR_ERR() instead of NULL. Make the return of pwm_request() be more informative than just being NULL on error by using PTR_ERR() to respond with an approriate error. Signed-off-by: Ben Dooks Signed-off-by: Russell King --- Reading git-diff-tree failed