commit | 879fe32438be9ff1ea2cf44e39e11b58206a76b2 | [log] [tgz] |
---|---|---|
author | Jon Hunter <jon-hunter@ti.com> | Thu Apr 04 15:16:12 2013 -0500 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 10 23:41:16 2013 +0200 |
tree | d9a45c4e94551ebb068c81054c445ba6ec71af82 | |
parent | 2b78f1e1389aef263071b9edf41c0980b092e601 [diff] |
gpio/omap: free irq domain in probe() failure paths Currently the IRQ domain is not freed once allocated, in the case where omap_gpio_probe() fails. Therefore, ensure we free the domain if the probe does fail. Furthermore, the local variable "ret" is not needed and so remove this. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>