[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YzQ3puvqsnWgnVQs@orome>
Date: Wed, 28 Sep 2022 14:01:42 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: zhaoxiao <zhaoxiao@...ontech.com>
Cc: heiko@...ech.de, u.kleine-koenig@...gutronix.de,
linux-pwm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATH v5] pwm: rockchip: Convert to use dev_err_probe()
On Mon, Aug 22, 2022 at 04:18:48PM +0800, zhaoxiao wrote:
> It's fine to call dev_err_probe() in ->probe() when error code is known.
> Convert the driver to use dev_err_probe().
>
> Signed-off-by: zhaoxiao <zhaoxiao@...ontech.com>
> ---
> v5: delete the redundant ret and %d.
> drivers/pwm/pwm-rockchip.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists