diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2014-11-11 09:08:43 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-11-27 15:01:19 +0100 |
commit | 1c649f4c8649050947b67358467b839e950abd14 (patch) | |
tree | 17eef324242fc1122104dd1711dc22cfc97c4de2 /drivers/gpio/gpio-sx150x.c | |
parent | 1fd2b49d0bd986fb22dd0a36910f24823e7bb0a0 (diff) |
gpio: mcp23s08: Do not free unrequested interrupt
If devm_request_threaded_irq fails for some reason we call
mcp23s08_irq_teardown afterwards.
Do not free the unrequested interrupt in this case. free_irq can also be
omitted for the error free case because we use devm_request_threaded_irq.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-sx150x.c')
0 files changed, 0 insertions, 0 deletions