Skip to content

Commit

Permalink
pinctrl/pinconfig: fix misplaced goto
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Meunier authored and Linus Walleij committed Apr 26, 2013
1 parent a0d4262 commit cb6d315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/pinconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file,
}

if (!found) {
goto exit;
count = -EINVAL;
goto exit;
}

if (pctldev)
Expand Down

0 comments on commit cb6d315

Please sign in to comment.