Skip to content
Commit e254811c authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Linus Torvalds
Browse files

gpiolib: gpio_request_one(): add missing gpio_free()



If GPIO request succeeds, but configuration fails, it should be released.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: default avatarEric Miao <eric.miao@canonical.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d153ba64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment