summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-04-04 15:16:12 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-04-10 23:41:16 +0200
commit879fe32438be9ff1ea2cf44e39e11b58206a76b2 (patch)
treed9a45c4e94551ebb068c81054c445ba6ec71af82 /scripts
parent2b78f1e1389aef263071b9edf41c0980b092e601 (diff)
downloadop-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
OpenPOWER on IntegriCloud