drivers/staging/mt7621-eth: Use dma_zalloc_coherent to replace dma_alloc_coherent...
authorzhong jiang <zhongjiang@huawei.com>
Wed, 1 Aug 2018 14:10:15 +0000 (22:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Aug 2018 18:00:53 +0000 (20:00 +0200)
commit5298ff58c93e0d7b7d67b8525e7c18a9478cbd8d
tree48af8056cb55b6429fef0840619310ccfaf22eb4
parent500cc548c8ebe7494ba37673c3ec1faa342858c3
drivers/staging/mt7621-eth: Use dma_zalloc_coherent to replace dma_alloc_coherent+memset

we prefer to use dma_zalloc_coherent rather than dam_alloc_coherent+memset

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-eth/mtk_eth_soc.c