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]>
This commit is contained in:
Laurent Meunier 2013-04-24 13:05:50 +02:00 • committed by Linus Walleij
commit cb6d315dc3

View file

@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file,
}
if (!found) {
goto exit;
count = -EINVAL;
goto exit;
}
if (pctldev)