crypto: qce - use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Fri, 2 Aug 2019 13:28:08 +0000 (21:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:12:03 +0000 (15:12 +1000)
commita54d83d42890e986018d0957fdd683df536505aa
treef3bf58027583474eebdc7c3ac48413d2a4220d16
parent473b4d995963b158f1713274c7992aed9240eb45
crypto: qce - 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/qce/core.c