crypto: sahara - replace sahara_sg_length with sg_nents_for_len
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 18 Sep 2015 12:57:11 +0000 (14:57 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 15:05:55 +0000 (23:05 +0800)
commitd23afa1abc54b5b7cb7c65f451378b5c0820bfe6
tree917abc68d3196d7dc422ceeb9476231cc47c47d0
parent76804eb846a413cd761f63ad6cdca1c8ca337678
crypto: sahara - replace sahara_sg_length with sg_nents_for_len

The sahara_sg_length function of the sahara driver is the same
as sg_nents_for_len from lib/scatterlist.c

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