aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2011-01-25 15:07:14 -0800
committerLinus Torvalds <[email protected]>2011-01-26 10:49:58 +1000
commitd8cc667be8fad9ad0bb3a95116be9f80a3b3efcf (patch)
treeb7cd54ac64552d8ce1ffcfdb9caa567ca04bd9a2 /tools/perf/util/trace-event-scripting.c
parentf95ba941d1bee594d536cdcbf879a0865381b903 (diff)
leds: leds-pwm: return proper error if pwm_request failed
Return PTR_ERR(led_dat->pwm) instead of 0 if pwm_request failed Signed-off-by: Axel Lin <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Luotao Fu <[email protected]> Cc: Reviewed-by: Dmitry Torokhov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions