summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-01-26 00:07:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-26 01:49:58 +0100
commitd8cc667be8fad9ad0bb3a95116be9f80a3b3efcf (patch)
treeb7cd54ac64552d8ce1ffcfdb9caa567ca04bd9a2 /ipc
parentmm/pgtable-generic.c: fix CONFIG_SWAP=n build (diff)
downloadlinux-d8cc667be8fad9ad0bb3a95116be9f80a3b3efcf.tar.xz
linux-d8cc667be8fad9ad0bb3a95116be9f80a3b3efcf.zip
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 <axel.lin@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Luotao Fu <l.fu@pengutronix.de> Cc: Reviewed-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions