]> git.baikalelectronics.ru Git - kernel.git/commit
wan/fsl_ucc_hdlc: use dma_zalloc_coherent instead of allocator/memset
authorYueHaibing <yuehaibing@huawei.com>
Mon, 4 Jun 2018 13:07:59 +0000 (21:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 21:27:59 +0000 (17:27 -0400)
commita6734234850510080377ba4754213c3118402236
treecc43be9e6881d9c6f12288aba47df711b5436551
parentc5d00e561992dfafa2771bbab1709d6326bc8a67
wan/fsl_ucc_hdlc: use dma_zalloc_coherent instead of allocator/memset

Use dma_zalloc_coherent instead of dma_alloc_coherent
followed by memset 0.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c