]> git.baikalelectronics.ru Git - kernel.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)
commit844fb154c48217d913922df9a52b3de07b33f02d
tree9045e18ec32d53dc3079885c3ddabceb815a8f4c
parent3986f6d2f52ebdd0e7d5b31d43a659f015e30bec
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