diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-11-25 05:40:20 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2012-11-27 23:49:24 +0100 |
commit | e3b1d44c3550e5badfa5b78ffec80e15d7d9b287 (patch) | |
tree | 180a664bdfcee84392ea82272ea2539a75a33f40 /lib | |
parent | leds: lp3944: Fix return value (diff) | |
download | linux-e3b1d44c3550e5badfa5b78ffec80e15d7d9b287.tar.xz linux-e3b1d44c3550e5badfa5b78ffec80e15d7d9b287.zip |
leds: leds-gpio: use devm_gpio_request_one
devm_gpio_request_one is device managed and makes error handling
and cleanup simpler.
Cc: Raphael Assenat <raph@8d.com>
Cc: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions