OpenCloudOS-Kernel/drivers/net/ethernet/ibm/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
..
Kconfig net: emac: add support for device-tree based PHY discovery and setup 2017-02-22 15:36:47 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
core.c net: ethernet: Convert phydev advertize and supported from u32 to link mode 2018-11-11 10:10:01 -08:00
core.h net/ibm/emac: Remove VLA usage 2018-09-13 16:53:24 -07:00
debug.h net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
emac.h Revert "net/ibm/emac: wrong bit is used for STA control" 2018-12-07 22:37:27 -08:00
mal.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mal.h net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function 2018-09-12 20:34:47 -07:00
phy.c net: ibm: emac: replace custom PHY_MODE_* macros 2017-12-21 13:09:41 -05:00
phy.h
rgmii.c net: ibm: emac: support RGMII-[RX|TX]ID phymode 2017-12-21 13:09:41 -05:00
rgmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
tah.c net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
tah.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
zmii.c net: ibm: emac: replace custom PHY_MODE_* macros 2017-12-21 13:09:41 -05:00
zmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00