diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-25 10:28:10 +0530 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-27 14:49:24 -0800 |
commit | 04195823aa16d648cd7f52abd2ea6df1b9aee53f (patch) | |
tree | d24ee2ee37483000d91f32bf233d34b1e4ea21d4 /drivers/leds/led-class.c | |
parent | leds: leds-lt3593: use devm_gpio_request_one (diff) | |
download | linux-dev-04195823aa16d648cd7f52abd2ea6df1b9aee53f.tar.xz linux-dev-04195823aa16d648cd7f52abd2ea6df1b9aee53f.zip |
leds: leds-ns2: use devm_gpio_request_one
devm_gpio_request_one is device managed and makes error handling
and cleanup simpler.
Cc: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/led-class.c')
0 files changed, 0 insertions, 0 deletions