Skip to content
Commit 43bda1a6 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3b73125a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment