crypto: caam - pair irq map and dispose in the same function
authorCristian Stoica <cristian.stoica@freescale.com>
Thu, 22 Jan 2015 14:00:48 +0000 (16:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Jan 2015 00:34:25 +0000 (11:34 +1100)
irq_dispose_mapping is not called on all error paths from caam_jr_init.
This takes care of several clean-up issues by performing resource
clean-up and allocation at the same level.

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/jr.c

Simple merge