RE: [PATCH v2] input: da7280: Make use of the helper function dev_err_probe()

From: Adam Thomson
Date: Fri Feb 18 2022 - 08:16:38 EST


On 17 February 2022 01:39, zhaoxiao wrote:

> devm_pwm_get() can return -EPROBE_DEFER if the pwm regulator is not
> ready yet. Use dev_err_probe() for pwm regulator resources
> to indicate the deferral reason when waiting for the
> resource to come up.
>
> Signed-off-by: zhaoxiao <zhaoxiao@xxxxxxxxxxxxx>

Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@xxxxxxxxxxx>