diff options
author | Pramod Gurav <[email protected]> | 2014-08-29 13:41:48 +0530 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2014-09-02 14:27:40 +0200 |
commit | c6e927a27498bf9314ba8e313d15d1b3f6046d7f (patch) | |
tree | 6fe9a1315a57f773c09557d9e4562ade9234bf5a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a198420028bb6ddb1930dddc3602a3e9b4803ed5 (diff) |
pinctrl: qcom: remove gpiochip in failure cases
This patch releases gpiochip related resources by calling
gpiochip_remove when either of gpiochip_add_pin_range and
gpiochip_irqchip_add fails.
CC: Linus Walleij <[email protected]>
CC: "Ivan T. Ivanov" <[email protected]>
Acked-by: Bjorn Andersson <[email protected]>
Signed-off-by: Pramod Gurav <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions