Skip to content

Commit cb6d315

Browse files
LMESTMlinusw
authored andcommitted
pinctrl/pinconfig: fix misplaced goto
This update contains a basic fix that went unseen through test and review. Signed-off-by: Laurent Meunier <[email protected]> Reviewed-by: Patrice Chotard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent a0d4262 commit cb6d315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinconf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file,
769769
}
770770

771771
if (!found) {
772-
goto exit;
773772
count = -EINVAL;
773+
goto exit;
774774
}
775775

776776
if (pctldev)

0 commit comments

Comments
 (0)