crypto: ux500 - Use devm_xxx() managed function
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Mon, 12 Oct 2015 17:47:04 +0000 (19:47 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Oct 2015 14:23:38 +0000 (22:23 +0800)
commit5a4eea2658c933205cd014b87066f3faa2dbe7f7
tree6f361e7dd1bcca064c5413f60f23125db1950a8b
parentb0e8b3417a620e6e0a91fd526fbc6db78714198e
crypto: ux500 - Use devm_xxx() managed function

Using the devm_xxx() managed function to stripdown the error
and remove code.
In the same time, we replace request_mem_region/ioremap by the unified
devm_ioremap_resource() function.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/cryp/cryp_core.c
drivers/crypto/ux500/hash/hash_core.c