dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()
Subsystems (2)
Fabio Estevam
reviewerMake the call to dma_alloc_coherent() to fit into a single line, which helps readability.
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/dma/imx-sdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/dma/imx-sdma.c +1 -3
@@ -671,9 +671,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,int ret;unsigned long flags; - buf_virt =dma_alloc_coherent (NULL , - size, - &buf_phys,GFP_KERNEL ); + buf_virt =dma_alloc_coherent (NULL , size, &buf_phys,GFP_KERNEL );if (!buf_virt) {return -ENOMEM ; }