diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-10-25 14:52:36 -0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-11-24 19:07:39 +0530 |
commit | af8bf89a8e0b8354576dcaa507c8f2fd4a205742 (patch) | |
tree | a58c02fccb802f96ac386160c2fca2b161a782db | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) |
dmaengine: imx-sdma: Use a single line for dma_alloc_coherent()
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>
-rw-r--r-- | drivers/dma/imx-sdma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index b4ec2d20e661..a2b488da2e07 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -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; } |