]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: mediatek - Use devm_platform_ioremap_resource() in mtk_rng_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 18 Sep 2019 07:34:11 +0000 (09:34 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:18 +0000 (01:06 +1000)
commitdef86aa5b705d96123899ffe50f43afbb19fd9a4
treecd6b7d7a7abe7b1b1040dd15784b584944282e60
parent3abee0981323bcbf1ccb57a5160219843057d75c
hwrng: mediatek - Use devm_platform_ioremap_resource() in mtk_rng_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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mtk-rng.c