]> asedeno.scripts.mit.edu Git - linux.git/commit
hwrng: hisi - use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 16 Oct 2019 10:46:12 +0000 (18:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:09:54 +0000 (02:09 +1100)
commit10304c762751228fdfc446766d521d44b74dc5c4
tree9045e18ec32d53dc3079885c3ddabceb815a8f4c
parent3e3c97c67e9eb69b14192908ee99fd7b2177cc07
hwrng: hisi - use devm_platform_ioremap_resource() to simplify code

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

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/hisi-rng.c