summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-max8997.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-07-11 11:50:32 +0200
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 01:52:40 +0200
commit5ecf6e40bbb8649b8418c8038a2af1faefbc56e4 (patch)
tree0f18e577dfdb0a3179f46e4a4d37a4e9e213eba7 /drivers/leds/leds-max8997.c
parentleds: convert Network Space v2 LED driver to devm_kzalloc() and cleanup error... (diff)
downloadlinux-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