diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-04 15:16:12 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-10 23:41:16 +0200 |
commit | 879fe32438be9ff1ea2cf44e39e11b58206a76b2 (patch) | |
tree | d9a45c4e94551ebb068c81054c445ba6ec71af82 /scripts | |
parent | 2b78f1e1389aef263071b9edf41c0980b092e601 (diff) | |
download | op-kernel-dev-879fe32438be9ff1ea2cf44e39e11b58206a76b2.zip op-kernel-dev-879fe32438be9ff1ea2cf44e39e11b58206a76b2.tar.gz |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions