crypto: exynos - use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Fri, 2 Aug 2019 13:28:00 +0000 (21:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:59 +0000 (15:11 +1000)
commit6d1c0186f392e77b9e873490bed4d27b2fe580d7
treec3af680e982546daf027057acf5985dc8cc39cc9
parent17729e56f9b8f9f0a057ea16571cdea0457900f0
crypto: exynos - 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>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/exynos-rng.c