crypto: caam - dma_map_sg can handle chained SG
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 23 Sep 2015 11:55:27 +0000 (13:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Oct 2015 13:56:56 +0000 (21:56 +0800)
commit13fb8fd7a81923f7a64b4e688fe0bdaf1ea26adf
tree87b60d1c96dddfa7c70476cdbef649ab6e7ade2d
parentb8a011d41c988aeb9aa199eb80ccd5179b5940c1
crypto: caam - dma_map_sg can handle chained SG

The caam driver use two dma_map_sg path according to SG are chained
or not.
Since dma_map_sg can handle both case, clean the code with all
references to sg chained.

Thus removing dma_map_sg_chained, dma_unmap_sg_chained
and __sg_count functions.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/sg_sw_sec4.h