[PATCH linux-next] crypto: aspeed - Use devm_platform_get_and_ioremap_resource()

Herbert Xu herbert at gondor.apana.org.au
Fri Jan 27 22:07:56 AEDT 2023


On Thu, Jan 19, 2023 at 03:36:49PM +0800, ye.xingchen at zte.com.cn wrote:
> From: ye xingchen <ye.xingchen at zte.com.cn>
> 
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
> 
> Signed-off-by: ye xingchen <ye.xingchen at zte.com.cn>
> ---
>  drivers/crypto/aspeed/aspeed-hace.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

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


More information about the Linux-aspeed mailing list