diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-16 12:41:51 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-11-16 20:56:19 +0100 |
commit | 712778d02d5c24e0bb5cfb9ccb9213496853a57f (patch) | |
tree | 9900c29cff035bb1042135009340eb69dbc9cb04 /lib/lzo | |
parent | pinctrl: sunxi: fix theoretical uninitialized variable access (diff) | |
download | linux-712778d02d5c24e0bb5cfb9ccb9213496853a57f.tar.xz linux-712778d02d5c24e0bb5cfb9ccb9213496853a57f.zip |
pinctrl: single: Fix a couple error codes
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>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions