Commits
Dan Carpenter committed 024cef2b707
pinctrl: single: Fix a couple error codes commit 712778d02d5c24e0bb5cfb9ccb9213496853a57f upstream. We should return -ENOMEM instead of success if pcs_add_function() fails. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Nishanth Menon <nm@ti.com>