dmaengine: iop-adma: Function parameter documentation must adhere to correct formatting
authorLee Jones <lee.jones@linaro.org>
Tue, 14 Jul 2020 11:15:41 +0000 (12:15 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 15 Jul 2020 12:20:47 +0000 (17:50 +0530)
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>
drivers/dma/iop-adma.c

index db0e274126fb7c4b6e779108732523b76fdde12f..3350bffb2e9376dd3188f6b9175fe242aa1860cd 100644 (file)
@@ -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