diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-04 22:16:12 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-10 23:41:16 +0200 |
commit | 879fe32438be9ff1ea2cf44e39e11b58206a76b2 (patch) | |
tree | d9a45c4e94551ebb068c81054c445ba6ec71af82 /drivers/atm | |
parent | gpio: gpio-generic: Add 16 and 32 bit big endian byte order support (diff) | |
download | linux-879fe32438be9ff1ea2cf44e39e11b58206a76b2.tar.xz linux-879fe32438be9ff1ea2cf44e39e11b58206a76b2.zip |
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 'drivers/atm')
0 files changed, 0 insertions, 0 deletions