diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2010-12-21 20:24:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-22 22:43:33 -0500 |
commit | e254811c205ec539b648cff54a7852ee8dcd2e5e (patch) | |
tree | ae6a382b424192053dbc1de6a9ee818262e1966b /net/atm/common.h | |
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>
Diffstat (limited to 'net/atm/common.h')
0 files changed, 0 insertions, 0 deletions