crypto: caam - Kill the easy targets
authorMarek Vasut <marex@denx.de>
Thu, 24 Apr 2014 18:05:16 +0000 (20:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:58:08 +0000 (21:58 +0800)
commite75880dd9afb60ff59efe079ac50ccc16daffe54
tree2a599fa4ff707e5e848028a04f899b9522be7d4d
parent8a4758268292eb036a63f49746fbfe3fcdc0c51d
crypto: caam - Kill the easy targets

Fix the functions which can be obviously done right with a simple
dev_err() now. While at it, further press the on-stack allocation
of buffer for sprintf() voodoo down into the abominated functions.

This patch cleans up most of the functions and leaves just two
remaining functions, report_ccb_status() and report_deco_status()
ugly and unhappy.

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