summaryrefslogtreecommitdiffstats
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-14 13:15:41 +0200
committerVinod Koul <vkoul@kernel.org>2020-07-15 14:20:47 +0200
commit1c5933c5a98cc82e5baca48a45c06ffc79e4fb7e (patch)
tree4cf52cb20bcecb132c816bc34f69f40944c6d6d2 /drivers/dma/iop-adma.c
parentdmaengine: imx-sdma: Correct formatting issue and provide 2 new descriptions (diff)
downloadlinux-1c5933c5a98cc82e5baca48a45c06ffc79e4fb7e.tar.xz
linux-1c5933c5a98cc82e5baca48a45c06ffc79e4fb7e.zip
dmaengine: iop-adma: Function parameter documentation must adhere to correct formatting
Also remove superfluous entry. Fixes the following W=1 kernel build warning(s): drivers/dma/iop-adma.c:418: warning: Function parameter or member 'chan' not described in 'iop_adma_alloc_chan_resources' Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200714111546.1755231-13-lee.jones@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/iop-adma.c')
-rw-r--r--drivers/dma/iop-adma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index db0e274126fb..3350bffb2e93 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -406,8 +406,7 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan);
/**
* iop_adma_alloc_chan_resources - returns the number of allocated descriptors
- * @chan - allocate descriptor resources for this channel
- * @client - current client requesting the channel be ready for requests
+ * @chan: allocate descriptor resources for this channel
*
* Note: We keep the slots for 1 operation on iop_chan->chain at all times. To
* avoid deadlock, via async_xor, num_descs_in_pool must at a minimum be