crypto: dcp - Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 29 May 2013 11:39:10 +0000 (17:09 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:07 +0000 (16:43 +0800)
commit0bc8a7188ff1b9b1cca2e49fd78f0e1797a75631
tree5ae92c4fad6705d2bcf4f27bb94bfb076a7a1614
parentd6dfd683e6b196db4cf92cf226c9f63ee66a5eb1
crypto: dcp - Use devm_* APIs

devm_* APIs are device managed and make cleanup and exit
code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Tested-by: Tobias Rauter <tobiasrauter@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/dcp.c