summaryrefslogtreecommitdiffstats
path: root/drivers/sh/pfc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh/pfc')
-rw-r--r--drivers/sh/pfc/pinctrl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/sh/pfc/pinctrl.c b/drivers/sh/pfc/pinctrl.c
index 2804eaa..a3ac39b 100644
--- a/drivers/sh/pfc/pinctrl.c
+++ b/drivers/sh/pfc/pinctrl.c
@@ -211,7 +211,8 @@ static int sh_pfc_gpio_request_enable(struct pinctrl_dev *pctldev,
break;
default:
pr_err("Unsupported mux type (%d), bailing...\n", pinmux_type);
- return -ENOTSUPP;
+ ret = -ENOTSUPP;
+ goto err;
}
ret = 0;
OpenPOWER on IntegriCloud