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>
This commit is contained in:
parent
a0d4262a25
commit
cb6d315dc3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue