From: Laurent Meunier Date: Wed, 24 Apr 2013 11:05:50 +0000 (+0200) Subject: pinctrl/pinconfig: fix misplaced goto X-Git-Tag: accepted/tizen/common/20141203.182822~2441^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb6d315dc36ce56bc017051befa9ac9391300eb9;p=platform%2Fkernel%2Flinux-arm64.git pinctrl/pinconfig: fix misplaced goto This update contains a basic fix that went unseen through test and review. Signed-off-by: Laurent Meunier Reviewed-by: Patrice Chotard Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 6f14b62..32f9680 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c @@ -769,8 +769,8 @@ static int pinconf_dbg_config_write(struct file *file, } if (!found) { - goto exit; count = -EINVAL; + goto exit; } if (pctldev)