Skip to content
Commit 5ecf6e40 authored by Devendra Naga's avatar Devendra Naga Committed by Bryan Wu
Browse files

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: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
parent a209f766
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment