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)
commitc3d6a64bd1e82ea486bff46b17d5403c2d2602d6
tree4511100d81070464e2d8daff4ba343e79646877e
parentaf8511cf32189ba66c7e2a4146f11c86c9813ab7
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