[PATCH] pmdomain: imx: gpcv2: replace dev_err() with dev_err_probe()
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Oct 24 03:58:37 PDT 2024
On 24/10/2024 12:35, Dario Binacchi wrote:
> The patch standardizes the probe() code by replacing the two occurrences
> of dev_err() with dev_err_probe(). Indeed, dev_err_probe() was used in all
> other error paths of the probe() function.
But why? Does not simplify the code and called function cannot defer. It
prints error, but your commit does not mention this as benefit.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list