spi: make xmldocs warning caused by spi.c
authorMasanari Iida <standby24x7@gmail.com>
Mon, 22 Feb 2016 11:33:44 +0000 (20:33 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 22 Feb 2016 14:06:19 +0000 (23:06 +0900)
This patch fix following warnings while make xmldocs.

.//drivers/spi/spi.c:2354: warning: Excess function parameter
'message' description in 'spi_split_transfers_maxsize'
.//drivers/spi/spi.c:2354: warning: Excess function parameter
 'max_size' description in 'spi_split_transfers_maxsize'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c

index b0c5d45..96c764d 100644 (file)
@@ -2317,8 +2317,8 @@ static int __spi_split_transfer_maxsize(struct spi_master *master,
  *                              when an individual transfer exceeds a
  *                              certain size
  * @master:    the @spi_master for this transfer
- * @message:   the @spi_message to transform
- * @max_size:  the maximum when to apply this
+ * @msg:   the @spi_message to transform
+ * @maxsize:  the maximum when to apply this
  *
  * Return: status of transformation
  */