From: Lee Jones Date: Wed, 16 Jan 2013 09:17:13 +0000 (+0000) Subject: pinctrl/abx500: destroy mutex if returning early due to error X-Git-Tag: v3.9-rc1~153^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d41e35c364391d5c80467f62eecec8c4c65342f4;p=pandora-kernel.git pinctrl/abx500: destroy mutex if returning early due to error Current failure path neglects to mutex_destroy() before returning an error due to an invalid parameter or an error received from gpiochip_add(). This patch aims to remedy that behaviour. Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed