crypto: dcp - Check the return value from devm_ioremap_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 23 Sep 2013 21:12:04 +0000 (18:12 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Oct 2013 06:16:54 +0000 (14:16 +0800)
commitac1ed0c0e1a3b52cac89aae92ebc55fd4c19be77
tree6c3c3f29f26373a9aae85ffbe4f24af8be84f60f
parent48e6dc1b2a1ad8186d48968d5018912bdacac744
crypto: dcp - Check the return value from devm_ioremap_resource()

devm_ioremap_resource() may fail, so better check its return value and propagate
it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/dcp.c