diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 6f14b62ae8ba8f16d8d4492ee2105a96419278df..32f96808202a60b6675166ed537912847a86c62b 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)