aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-xway.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-01-16 04:17:13 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-02-05 07:54:24 -0500
commitd41e35c364391d5c80467f62eecec8c4c65342f4 (patch)
tree3224cdc5919ef26abf57a6f7edde3c3edb151242 /drivers/pinctrl/pinctrl-xway.c
parent83b423c885337415a680748cbd40f732734ab0b1 (diff)
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 <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-xway.c')
0 files changed, 0 insertions, 0 deletions