Re: [PATCH] clk: mediatek: reset: Return regmap's error code

From: Stephen Boyd
Date: Mon Jul 29 2024 - 19:01:47 EST


Quoting Fei Shao (2024-07-17 04:58:52)
> device_node_to_regmap() can return different errors, and it's better
> practice to pass them to callers.
>
> Clean up the hardcoded -EINVAL and use PTR_ERR(regmap) instead.
>
> Signed-off-by: Fei Shao <fshao@xxxxxxxxxxxx>
> ---

Applied to clk-next