Commit cb6d315d authored by Laurent Meunier's avatar Laurent Meunier Committed by Linus Walleij

pinctrl/pinconfig: fix misplaced goto

This update contains a basic fix that went unseen through
test and review.
Signed-off-by: default avatarLaurent Meunier <laurent.meunier@st.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a0d4262a
...@@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file, ...@@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file,
} }
if (!found) { if (!found) {
goto exit;
count = -EINVAL; count = -EINVAL;
goto exit;
} }
if (pctldev) if (pctldev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment