]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: ccp - use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Fri, 2 Aug 2019 13:27:59 +0000 (21:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:59 +0000 (15:11 +1000)
commit17729e56f9b8f9f0a057ea16571cdea0457900f0
treee4b218aacd5b520f3f82166e9cb1575375bd5301
parent0866ba23b7efcc6837d6b4231bf91b79647b81ea
crypto: ccp - use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/sp-platform.c