Revert "pinctrl: single: fix missing error code in pcs_probe()"
This reverts commit ba91979e77
.
This commit is contained in:
parent
c7e2c7a9a2
commit
206cbbcdee
1 changed files with 1 additions and 2 deletions
|
@ -1923,8 +1923,7 @@ static int pcs_probe(struct platform_device *pdev)
|
|||
|
||||
dev_info(pcs->dev, "%i pins, size %u\n", pcs->desc.npins, pcs->size);
|
||||
|
||||
ret = pinctrl_enable(pcs->pctl);
|
||||
if (ret)
|
||||
if (pinctrl_enable(pcs->pctl))
|
||||
goto free;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue