[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZHUpHj8eWc21tYPFwA7BpWdj-dS-sbzxgoi=n02jctbA@mail.gmail.com>
Date: Tue, 21 Sep 2021 20:29:18 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Cai Huoqing <caihuoqing@...du.com>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Linux Input <linux-input@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Input: cyttsp - Make use of the helper function dev_err_probe()
On Mon, Sep 20, 2021 at 12:33 PM Cai Huoqing <caihuoqing@...du.com> wrote:
> When possible use dev_err_probe help to properly deal with the
> PROBE_DEFER error, the benefit is that DEFER issue will be logged
> in the devices_deferred debugfs file.
> Using dev_err_probe() can reduce code size, and the error value
> gets printed.
>
> Signed-off-by: Cai Huoqing <caihuoqing@...du.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists