1
0
Fork 0
alistair23-linux/drivers/crypto/mediatek
Luis Chamberlain 750afb08ca cross-tree: phase out dma_zalloc_coherent()
We already need to zero out memory for dma_alloc_coherent(), as such
using dma_zalloc_coherent() is superflous. Phase it out.

This change was generated with the following Coccinelle SmPL patch:

@ replace_dma_zalloc_coherent @
expression dev, size, data, handle, flags;
@@

-dma_zalloc_coherent(dev, size, handle, flags)
+dma_alloc_coherent(dev, size, handle, flags)

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
[hch: re-ran the script on the latest tree]
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-01-08 07:58:37 -05:00
..
Makefile crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-aes.c crypto: mediatek - move to generic async completion 2017-11-03 22:11:23 +08:00
mtk-platform.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mtk-platform.h crypto: mediatek - remove redundant clock setting 2017-06-10 12:04:37 +08:00
mtk-regs.h crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-sha.c crypto: mediatek - Use IPAD/OPAD constant 2017-05-23 12:52:09 +08:00