crypto: mxs-dcp: Use devm_kzalloc()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 29 Jan 2014 00:36:11 +0000 (22:36 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Feb 2014 01:59:25 +0000 (09:59 +0800)
commite921f0307531b27dbe34c17e8a5be5a88010d179
tree0bff420242da8ff8da23683c638f7132813b35f7
parentf3de9cb1ca6ce347393c4789b3a6142f96827f18
crypto: mxs-dcp: Use devm_kzalloc()

Using devm_kzalloc() can make the code cleaner.

While at it, remove the devm_kzalloc error message as there is standard OOM
message done by the core.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mxs-dcp.c