diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-07-11 11:50:32 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-07-24 01:52:40 +0200 |
commit | 5ecf6e40bbb8649b8418c8038a2af1faefbc56e4 (patch) | |
tree | 0f18e577dfdb0a3179f46e4a4d37a4e9e213eba7 /drivers/leds/leds-max8997.c | |
parent | leds: convert Network Space v2 LED driver to devm_kzalloc() and cleanup error... (diff) | |
download | linux-5ecf6e40bbb8649b8418c8038a2af1faefbc56e4.tar.xz linux-5ecf6e40bbb8649b8418c8038a2af1faefbc56e4.zip |
leds/leds-s3c24xx: use devm_gpio_request
why?
because if the led_classdev_register fails we wont do gpio free
because using devm_ functions, there is no need for error paths
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions