1
0
Fork 0
alistair23-linux/drivers/net/ethernet/qualcomm/emac
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 net: qcom/emac: add ethtool support 2017-01-10 13:26:25 -05:00
emac-ethtool.c net: qcom/emac: add software control for pause frame mode 2017-09-21 15:19:30 -07:00
emac-mac.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
emac-mac.h net: qcom/emac: extend DMA mask to 46bits 2018-01-24 16:32:29 -05:00
emac-phy.c net: qcom/emac: Reduce timeout for mdio read/write 2017-12-15 15:46:19 -05:00
emac-phy.h net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii-fsm9900.c net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii-qdf2400.c net: qcom/emac: optimize QDF2400 SGMII RX/TX impedence values 2017-03-07 12:29:37 -08:00
emac-sgmii-qdf2432.c net: qcom/emac: rename emac_phy to emac_sgmii and move it 2017-01-23 12:54:35 -05:00
emac-sgmii.c net: qcom/emac: Add missing of_node_put() 2018-06-14 17:01:05 -07:00
emac-sgmii.h net: qcom/emac: Encapsulate sgmii ops under one structure 2018-05-16 14:33:27 -04:00
emac.c net: qcom/emac: Encapsulate sgmii ops under one structure 2018-05-16 14:33:27 -04:00
emac.h net: qcom/emac: add software control for pause frame mode 2017-09-21 15:19:30 -07:00