crypto: caam - Pull all the error codes out
authorMarek Vasut <marex@denx.de>
Thu, 24 Apr 2014 18:05:13 +0000 (20:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:58:07 +0000 (21:58 +0800)
commit9724d7adbb34b067b844b97599c1a5905229aa2b
tree1bcf8143ddeb360ff7e11c3fcde1182f5140e6d8
parentfa9659cd4d3f40cead6263986cc235f3e67ab872
crypto: caam - Pull all the error codes out

Pull the error code <-> error string mapping tables out of the function
so the code becomes readable. This lets me see the real flesh of the
functions, without all that flab clouding the view.

Note: There is a checkpatch issue with quoted strings across multiple
      lines. I will fix that in a subsequent patch to keep the changes
      small and separate.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/error.c