hwrng: iproc-rng200 - Use devm_platform_ioremap_resource() in iproc_rng200_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 18 Sep 2019 07:09:22 +0000 (09:09 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:17 +0000 (01:06 +1000)
commita68b931932c5574aa5bd459529c766ba577c72b3
treea8537c4261b1b09f36b135302363469bc52fb9ed
parent946a4a2a49195e2d45c71fcb0d887fc1b3fad567
hwrng: iproc-rng200 - Use devm_platform_ioremap_resource() in iproc_rng200_probe()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/iproc-rng200.c