diff options
author | Kedareswara rao Appana <appana.durga.rao@xilinx.com> | 2017-12-07 00:21:06 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-12-18 00:14:09 -0500 |
commit | 22653af70eed34d18542d6c7e6ae9224d0cd94cd (patch) | |
tree | 61f53a3e886ca9292622c7b82b71ec76314b5fac | |
parent | e50a0ad1596f778193ddeca232970c4b7281b50e (diff) |
dmaengine: xilinx_dma: fix style issues from checkpatch
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>
-rw-r--r-- | drivers/dma/xilinx/xilinx_dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index eaa93fe93820..b09a8efcfb2d 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c | |||
@@ -2484,7 +2484,8 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev, | |||
2484 | * Return: 0 always. | 2484 | * Return: 0 always. |
2485 | */ | 2485 | */ |
2486 | static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, | 2486 | static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, |
2487 | struct device_node *node) { | 2487 | struct device_node *node) |
2488 | { | ||
2488 | int ret, i, nr_channels = 1; | 2489 | int ret, i, nr_channels = 1; |
2489 | 2490 | ||
2490 | ret = of_property_read_u32(node, "dma-channels", &nr_channels); | 2491 | ret = of_property_read_u32(node, "dma-channels", &nr_channels); |