commit | 04195823aa16d648cd7f52abd2ea6df1b9aee53f | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Sun Nov 25 10:28:10 2012 +0530 |
committer | Bryan Wu <cooloney@gmail.com> | Tue Nov 27 14:49:24 2012 -0800 |
tree | d24ee2ee37483000d91f32bf233d34b1e4ea21d4 | |
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>