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

Stephen Boyd sboyd at kernel.org
Mon Jul 29 16:01:35 PDT 2024


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 at chromium.org>
> ---

Applied to clk-next



More information about the Linux-mediatek mailing list