From: Pramod Gurav Date: Tue, 9 Sep 2014 10:20:36 +0000 (+0530) Subject: pinctrl: at91: Fix failure path in at91_gpio_probe path X-Git-Tag: fixes-for-v3.18-merge-window~33^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e4197420a154a2a684b6e7b496dda70b20d9ec;p=pandora-kernel.git pinctrl: at91: Fix failure path in at91_gpio_probe path This fixes the whole error handling in probe function by capturing and returning error values on kernel function like clk_prepare, clk_enable, gpiochip_add etc. CC: Jean-Christophe Plagniol-Villard CC: Linus Walleij Signed-off-by: Pramod Gurav Signed-off-by: Linus Walleij --- Reading git-diff-tree failed