]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pasemi: Use dma_zalloc_coherent()
authorSabyasachi Gupta <sabyasachi.linux@gmail.com>
Mon, 5 Nov 2018 03:28:23 +0000 (08:58 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 25 Nov 2018 06:11:22 +0000 (17:11 +1100)
commit7205172e61a2091e0fc8e50254071a73635e32cf
tree4511100d81070464e2d8daff4ba343e79646877e
parent923014de33255c4213bbc4927cf302ff431ed9c4
powerpc/pasemi: Use dma_zalloc_coherent()

Replace dma_alloc_coherent() + memset() with dma_zalloc_coherent().

Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pasemi/dma_lib.c