diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2020-12-13 17:17:19 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-01-04 15:38:34 +0100 |
commit | 8a55d64c3336fc2ffd488a37d08ceab154c7b56b (patch) | |
tree | e8af9401cc1ca523111c985ac2a39cad45f7bdda /drivers/reset | |
parent | 420cf17d975d93973ba80807ea49760ba14feaa9 (diff) |
pinctrl: ralink: rt2880: preserve error codes
Some paths in probe function are returning '-EINVAL'
instead of preserve original code from called functions.
Change them to preserve all of them.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20201213161721.6514-7-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions