OSDN Git Service

wcn36xx: use dma_zalloc_coherent instead of allocator/memset
authorYueHaibing <yuehaibing@huawei.com>
Mon, 6 Aug 2018 09:39:16 +0000 (12:39 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 24 Aug 2018 11:50:20 +0000 (14:50 +0300)
commitd410e28f3ae476e1572b8893c646ef44fae7bbbd
treeba50636c7ca54a1139aae3b9a717c668a7e0bbf0
parent3f96556f639e6cc507cc682406e83671f8e7c1ea
wcn36xx: 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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/dxe.c