Re: [PATCH 12/24] Input: cy8ctma140 - Simplify with dev_err_probe()
From: Linus Walleij
Date: Fri Aug 28 2020 - 10:07:58 EST
On Wed, Aug 26, 2020 at 8:18 PM Krzysztof Kozlowski <krzk@xxxxxxxxxx> 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>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij