Commit cb6d315dc36ce56bc017051befa9ac9391300eb9

Authored by Laurent Meunier
Committed by Linus Walleij
1 parent a0d4262a25

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/pinctrl/pinconf.c
... ... @@ -769,8 +769,8 @@
769 769 }
770 770  
771 771 if (!found) {
772   - goto exit;
773 772 count = -EINVAL;
  773 + goto exit;
774 774 }
775 775  
776 776 if (pctldev)