commit | 43bda1a6d218744382547a2f8be3240d1c3a151b | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Jul 01 14:18:27 2008 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jul 03 13:25:07 2008 +0100 |
tree | 7a765e743a6e2cfde5db08dfe073a412e42df873 | |
parent | 3b73125af69f93972625f4b655675f42ca4274eb [diff] |
[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 <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>