[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZLEOH3FLrfLHw2HH@gondor.apana.org.au>
Date: Fri, 14 Jul 2023 18:58:07 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Martin Kaiser <martin@...ser.cx>
Cc: linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwrng: imx-rngc - use dev_err_probe
On Tue, Jul 04, 2023 at 07:06:44PM +0200, Martin Kaiser wrote:
> Simplify the code by calling dev_err_probe instead of dev_err and return.
>
> While at it, use the same device for all error messages.
>
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> ---
> drivers/char/hw_random/imx-rngc.c | 24 ++++++++----------------
> 1 file changed, 8 insertions(+), 16 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists