]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04523c94e54355e68daebef8f7bc3e70a12bd9e9
treea8537c4261b1b09f36b135302363469bc52fb9ed
parent5ae6bd850dc1d64fb1bbe2fe3d841a71b0cd3af6
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