summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLaurent Meunier <laurent.meunier@st.com>2013-04-24 13:05:50 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-04-26 17:00:14 +0200
commitcb6d315dc36ce56bc017051befa9ac9391300eb9 (patch)
treec4efc1a254c1f84caba93c8b7bbeb97051baa657 /drivers/pinctrl
parenta0d4262a25966aa34674397ba6b438dc025827ef (diff)
downloadlinux-3.10-cb6d315dc36ce56bc017051befa9ac9391300eb9.tar.gz
linux-3.10-cb6d315dc36ce56bc017051befa9ac9391300eb9.tar.bz2
linux-3.10-cb6d315dc36ce56bc017051befa9ac9391300eb9.zip
pinctrl/pinconfig: fix misplaced goto
This update contains a basic fix that went unseen through test and review. Signed-off-by: Laurent Meunier <laurent.meunier@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
index 6f14b62ae8b..32f96808202 100644
--- a/drivers/pinctrl/pinconf.c
+++ b/drivers/pinctrl/pinconf.c
@@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file,
}
if (!found) {
- goto exit;
count = -EINVAL;
+ goto exit;
}
if (pctldev)