Re: [PATCH] pinctrl: ti: fix error return code of ti_iodelay_dt_node_to_map()

From: Linus Walleij
Date: Thu Apr 08 2021 - 09:58:10 EST


On Tue, Mar 30, 2021 at 10:39 AM angkery <angkery@xxxxxxx> wrote:

> From: Junlin Yang <yangjunlin@xxxxxxxxxx>
>
> when devm_kcalloc fails, use -ENOMEM instead of -EINVAL,
> and consistent with other devm_kcalloc return values.
>
> Signed-off-by: Junlin Yang <yangjunlin@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij