Re: [PATCH] crypto: Make use of the helper function devm_platform_ioremap_resource()

From: Herbert Xu
Date: Fri Apr 29 2022 - 01:49:32 EST


On Mon, Apr 18, 2022 at 01:57:00AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> Use the devm_platform_ioremap_resource() helper instead of calling
> platform_get_resource() and devm_ioremap_resource() separately.Make the
> code simpler without functional changes.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
> ---
> drivers/crypto/keembay/keembay-ocs-aes-core.c | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)

Patch 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