crypt: bfin_crc - Remove useless SSYNC instruction and cache flush to DMA coherent...
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 26 Feb 2014 02:39:16 +0000 (10:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:13:33 +0000 (20:13 +0800)
commit4ea5d9998a9de1c85167582d3fd2760cacf40f7d
treee81d0ba5240188c1eddb4cc03f5ee686a7f800bf
parent3d6f1d12f5ed7603caeeb1870174882256bd0889
crypt: bfin_crc - Remove useless SSYNC instruction and cache flush to DMA coherent memory

1) SSYNC instruction is blackfin specific and takes no effect in this driver.
2) DMA descriptor and SG middle buffer are in DMA coherent memory. No need
to flush.
3) Turn kzalloc, ioremap and request_irq into managed device APIs respectively.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bfin_crc.c