dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()
authorFabio Estevam <festevam@gmail.com>
Thu, 25 Oct 2018 17:52:36 +0000 (14:52 -0300)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Nov 2018 13:37:39 +0000 (19:07 +0530)
Make the call to dma_alloc_coherent() to fit into a single line, which
helps readability.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-sdma.c

index b4ec2d2..a2b488d 100644 (file)
@@ -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;
        }