crypto: picoxcell - Make use of sg_nents_for_len
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 11 Jun 2015 03:28:33 +0000 (11:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Jun 2015 14:45:08 +0000 (22:45 +0800)
commit1a5b951f256d772a4ab758bda3a0667b788c0d2a
tree7e73b3a2ee63c0450c77cf34681f52ba6b0cc5b4
parent72071fe43e8dad13f2a30897876d72463d46d065
crypto: picoxcell - Make use of sg_nents_for_len

This patch makes use of the new sg_nents_for_len helper to replace
the custom sg_count function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c