crypto: ux500 - Fix logging, make arrays const, neatening
authorJoe Perches <joe@perches.com>
Tue, 16 Jul 2013 21:06:48 +0000 (14:06 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Aug 2013 00:53:59 +0000 (10:53 +1000)
commit69d2884debaa029ddcf9de4631c4c83249bc8c4d
treef22ef3e74171cdaddf4b8c2fb38e9b26160650a6
parent997ad2900ac13b8afcfc45ce79bf662551a501eb
crypto: ux500 - Fix logging, make arrays const, neatening

Logging messages without newlines are possibly interleaved
with other messages.  Add terminating newlines to avoid
this.

Other miscellaneous changes:

Make arrays const to reduce data size
Add pr_fmt to prefix pr_<level>, remove now unused DEV_DBG_NAME
Coalesce formats, align arguments
Remove unnecessary OOM messages as dump_stack is already done
Remove unnecessary cast of void *
Change kzalloc(sizeof(struct)...) to kzalloc(sizeof(*var), ...)
Reduce indents in struct definitions

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/hash/hash_core.c