From: Jon Hunter Date: Thu, 4 Apr 2013 20:16:12 +0000 (-0500) Subject: gpio/omap: free irq domain in probe() failure paths X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~23^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=879fe32438be9ff1ea2cf44e39e11b58206a76b2;p=pandora-kernel.git 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 Acked-by: Santosh Shilimkar Reviewed-by: Kevin Hilman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed