crypto: amcc - replace get_sg_count by sg_nents_for_len
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 18 Sep 2015 12:57:10 +0000 (14:57 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 15:05:53 +0000 (23:05 +0800)
commit76804eb846a413cd761f63ad6cdca1c8ca337678
treee6852d97f489c0f39b7c3052dda29efe4023b089
parent1f6d79d7e011ff0b85feaecf0aed0b3949eaa1f2
crypto: amcc - replace get_sg_count by sg_nents_for_len

The get_sg_count function of amcc 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/amcc/crypto4xx_core.c