[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200904082755.GA1214@gondor.apana.org.au>
Date: Fri, 4 Sep 2020 18:27:55 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Hadar Gat <hadar.gat@....com>, Matt Mackall <mpm@...enic.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwrng: cctrn - Simplify with dev_err_probe()
On Wed, Aug 26, 2020 at 05:32:33PM +0200, 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@...nel.org>
> ---
> drivers/char/hw_random/cctrng.c | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 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