Skip to content
Commit c4f333b7 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Linus Walleij
Browse files

pinctrl: rockchip: return ENOMEM instead of EINVAL if allocation fails



The function rockchip_pinctrl_parse_dt returns -EINVAL if
allocation fails. Change the return error to -ENOMEM

Signed-off-by: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20200506101424.15691-1-dafna.hirschfeld@collabora.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c7acd6fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment