crypto: dcp - Use devm_request_irq()
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 22 Sep 2013 17:42:26 +0000 (14:42 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Sep 2013 20:02:25 +0000 (06:02 +1000)
commit0ff647551b4282eee90a6d944c9fccde07845db4
tree4f6e7975a89419b5b0b62fd94f1b36a7ffb527d4
parent05a27928f37b31ea8b844e3b0c623d7f46451145
crypto: dcp - Use devm_request_irq()

Using Use devm_request_irq() can make the code smaller and simpler, as we do
not need to call free_irq() in the probe error path and in the remove function.

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