crypto: caam - Clean up report_deco_status()
authorMarek Vasut <marex@denx.de>
Thu, 24 Apr 2014 18:05:19 +0000 (20:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:58:10 +0000 (21:58 +0800)
commit4f0fa52a5d89d763423cb9b428e988ea824fd95a
tree7b595616896004ba66357697ab555d731be16478
parent1e16322da45b747c753162e421b7a1b25259377a
crypto: caam - Clean up report_deco_status()

Clean this function up and rework it into sensible shape. This function
now contains one single dev_err() instead of the previous insanity full
of memory allocation, chaotic string handling and use of SPRINTFCAT().

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