Thread (2 messages) 2 messages, 2 authors, 2023-03-31

Re: [PATCH] crypto: mxs-dcp - Use the devm_clk_get_optional_enabled() helper

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2023-03-31 10:13:34
Also in: kernel-janitors, linux-crypto, lkml

On Sun, Mar 26, 2023 at 04:14:25PM +0200, Christophe JAILLET wrote:
Use devm_clk_get_optional_enabled() instead of hand writing it.
This saves some loC and improves the semantic.

update the error handling path and the remove function accordingly.

Signed-off-by: Christophe JAILLET <redacted>
---
 drivers/crypto/mxs-dcp.c | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help