Re: [PATCH 1/2] crypto: crypto4xx_core: avoid explicit resource

From: Herbert Xu
Date: Sat Oct 19 2024 - 07:59:25 EST


On Thu, Oct 10, 2024 at 12:48:20PM -0700, Rosen Penev wrote:
> There's no use for the resource struct. Just use
> devm_platform_ioremap_resource to simplify the code.
>
> Avoids the need to iounmap manually.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> drivers/crypto/amcc/crypto4xx_core.c | 17 +++++------------
> 1 file changed, 5 insertions(+), 12 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt