crypto: talitos - dma_map_sg can handle chained SG
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 23 Sep 2015 11:55:25 +0000 (13:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Oct 2015 13:49:40 +0000 (21:49 +0800)
commitb8a011d41c988aeb9aa199eb80ccd5179b5940c1
treebf94b43b8ba8a315ccfcd4b7f822e92a24d618d6
parentbe2cfac07619a8f97fe3aae39f095e9e33decd99
crypto: talitos - dma_map_sg can handle chained SG

The talitos 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 talitos_map_sg, talitos_unmap_sg_chain
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/talitos.c