commit | e254811c205ec539b648cff54a7852ee8dcd2e5e | [log] [tgz] |
---|---|---|
author | Aaro Koskinen <aaro.koskinen@nokia.com> | Tue Dec 21 17:24:22 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 22 19:43:33 2010 -0800 |
tree | ae6a382b424192053dbc1de6a9ee818262e1966b | |
parent | d153ba64450b9371158c6516d6cac120faace44c [diff] |
gpiolib: gpio_request_one(): add missing gpio_free() If GPIO request succeeds, but configuration fails, it should be released. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Acked-by: Eric Miao <eric.miao@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>