Re: [PATCH 5/5] power: supply: lego_ev3: Simplify with dev_err_probe()

From: David Lechner
Date: Wed Aug 26 2020 - 11:11:11 EST


On 8/26/20 9:48 AM, Krzysztof Kozlowski wrote:
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.

Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
---

Reviewed-by: David Lechner <david@xxxxxxxxxxxxxx>