commit | e3b1d44c3550e5badfa5b78ffec80e15d7d9b287 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Sun Nov 25 10:10:20 2012 +0530 |
committer | Bryan Wu <cooloney@gmail.com> | Tue Nov 27 14:49:24 2012 -0800 |
tree | 180a664bdfcee84392ea82272ea2539a75a33f40 | |
parent | 4401e48737c4068604144a5c0ba23a9c82ea3a37 [diff] |
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>