Re: [PATCH] clk: qcom: cleanup some dev_err_probe() calls

From: Stephen Boyd
Date: Tue Jun 01 2021 - 19:34:35 EST


Quoting Dan Carpenter (2021-05-11 00:09:08)
> The dev_err_probe() function prints an error message if the error
> code is not -EPROBE_DEFER. If we know the error code in is -ENODEV
> then there is no reason to check. Conversely, we do not need to
> check for -EPROBE_DEFER before calling.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---

Applied to clk-next with some manual effort