crypto: s5p-sss - Use devm_ioremap_resource()
authorJingoo Han <jg1.han@samsung.com>
Wed, 12 Feb 2014 04:24:57 +0000 (13:24 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Feb 2014 21:56:48 +0000 (05:56 +0800)
commit0fdefe2c907610f3efb3163c8b72127007e282aa
tree884741541dc102fd5a7c1da2a415a24f476aeec0
parent9e95275cf351ebbb02316addfa2d8d87173a4cd7
crypto: s5p-sss - Use devm_ioremap_resource()

Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/s5p-sss.c