crypto: sahara - Use dmam_alloc_coherent
authorVaishali Thakkar <vthakkar1994@gmail.com>
Tue, 18 Aug 2015 06:06:05 +0000 (11:36 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 Aug 2015 14:59:44 +0000 (22:59 +0800)
commit66c9a04e33947191a03a1cf5103b8bf9051774df
tree8b550e523edf31dedf949f1999974ca59a5cee82
parent6c3af955935223217f23ef0ae672d3842418ec50
crypto: sahara - Use dmam_alloc_coherent

This patch moves the data allocated using dma_alloc_coherent to the
corresponding managed interface. To be compatible with the change,
various gotos are replaced with direct returns and unneeded labels
are dropped.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c