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/leds-da903x.c | |
parent | 95a8ff835674e1156c0640f83829773f8bfe655a (diff) |
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/leds-da903x.c')
0 files changed, 0 insertions, 0 deletions