]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
dmaengine: xilinx_dma: fix style issues from checkpatch
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Thu, 7 Dec 2017 05:21:06 +0000 (10:51 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 Dec 2017 05:14:09 +0000 (10:44 +0530)
This patch fixes below.
ERROR: open brace '{' following function definitions go on the next line
+static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev,
+     struct device_node *node) {

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xilinx/xilinx_dma.c

index eaa93fe93820581a529918f0cba4a385f9d11f1c..b09a8efcfb2d134bb2560350a0c4ed1032e4b25c 100644 (file)
@@ -2484,7 +2484,8 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev,
  * Return: 0 always.
  */
 static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev,
-                                   struct device_node *node) {
+                                   struct device_node *node)
+{
        int ret, i, nr_channels = 1;
 
        ret = of_property_read_u32(node, "dma-channels", &nr_channels);