aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-wrap.c
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-03-09 16:42:27 -0400
committerRichard Purdie <rpurdie@rpsys.net>2008-03-31 18:31:13 -0400
commitd95cbe6158a679d50e03787bb1dc21ff73dac372 (patch)
tree6a4e28ed398da5405e446c5b74e46bdc1f90746f /drivers/leds/leds-wrap.c
parenta9edadbf790d72adf6ebed476cb5caf7743e7e4a (diff)
leds: Fix potential leds-gpio oops
Call gpio_cansleep only after gpio_request succeeded avoiding an oops. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/leds/leds-wrap.c')
0 files changed, 0 insertions, 0 deletions