فهرست منبع

media: rc: fix kernel-doc parameter names

There are several parameters there that are named wrong, as
reported by those warnings:

	drivers/media/rc/ir-sharp-decoder.c:47: warning: No description found for parameter 'ev'
	drivers/media/rc/ir-sharp-decoder.c:47: warning: Excess function parameter 'duration' description in 'ir_sharp_decode'
	drivers/media/rc/ir-sanyo-decoder.c:56: warning: No description found for parameter 'ev'
	drivers/media/rc/ir-sanyo-decoder.c:56: warning: Excess function parameter 'duration' description in 'ir_sanyo_decode'
	drivers/media/rc/ir-xmp-decoder.c:43: warning: No description found for parameter 'ev'
	drivers/media/rc/ir-xmp-decoder.c:43: warning: Excess function parameter 'duration' description in 'ir_xmp_decode'
	drivers/media/rc/ir-jvc-decoder.c:47: warning: No description found for parameter 'ev'
	drivers/media/rc/ir-jvc-decoder.c:47: warning: Excess function parameter 'duration' description in 'ir_jvc_decode'
	drivers/media/rc/ir-lirc-codec.c:34: warning: No description found for parameter 'dev'
	drivers/media/rc/ir-lirc-codec.c:34: warning: No description found for parameter 'ev'
	drivers/media/rc/ir-lirc-codec.c:34: warning: Excess function parameter 'input_dev' description in 'ir_lirc_decode'
	drivers/media/rc/ir-lirc-codec.c:34: warning: Excess function parameter 'duration' description in 'ir_lirc_decode'

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Mauro Carvalho Chehab 7 سال پیش
والد
کامیت
1855e9884c

+ 1 - 1
drivers/media/rc/ir-jvc-decoder.c

@@ -39,7 +39,7 @@ enum jvc_state {
 /**
 /**
  * ir_jvc_decode() - Decode one JVC pulse or space
  * ir_jvc_decode() - Decode one JVC pulse or space
  * @dev:	the struct rc_dev descriptor of the device
  * @dev:	the struct rc_dev descriptor of the device
- * @duration:   the struct ir_raw_event descriptor of the pulse/space
+ * @ev:   the struct ir_raw_event descriptor of the pulse/space
  *
  *
  * This function returns -EINVAL if the pulse violates the state machine
  * This function returns -EINVAL if the pulse violates the state machine
  */
  */

+ 2 - 2
drivers/media/rc/ir-lirc-codec.c

@@ -25,8 +25,8 @@
 /**
 /**
  * ir_lirc_decode() - Send raw IR data to lirc_dev to be relayed to the
  * ir_lirc_decode() - Send raw IR data to lirc_dev to be relayed to the
  *		      lircd userspace daemon for decoding.
  *		      lircd userspace daemon for decoding.
- * @input_dev:	the struct rc_dev descriptor of the device
- * @duration:	the struct ir_raw_event descriptor of the pulse/space
+ * @dev:	the struct rc_dev descriptor of the device
+ * @ev:		the struct ir_raw_event descriptor of the pulse/space
  *
  *
  * This function returns -EINVAL if the lirc interfaces aren't wired up.
  * This function returns -EINVAL if the lirc interfaces aren't wired up.
  */
  */

+ 1 - 1
drivers/media/rc/ir-sanyo-decoder.c

@@ -48,7 +48,7 @@ enum sanyo_state {
 /**
 /**
  * ir_sanyo_decode() - Decode one SANYO pulse or space
  * ir_sanyo_decode() - Decode one SANYO pulse or space
  * @dev:	the struct rc_dev descriptor of the device
  * @dev:	the struct rc_dev descriptor of the device
- * @duration:	the struct ir_raw_event descriptor of the pulse/space
+ * @ev:		the struct ir_raw_event descriptor of the pulse/space
  *
  *
  * This function returns -EINVAL if the pulse violates the state machine
  * This function returns -EINVAL if the pulse violates the state machine
  */
  */

+ 1 - 1
drivers/media/rc/ir-sharp-decoder.c

@@ -39,7 +39,7 @@ enum sharp_state {
 /**
 /**
  * ir_sharp_decode() - Decode one Sharp pulse or space
  * ir_sharp_decode() - Decode one Sharp pulse or space
  * @dev:	the struct rc_dev descriptor of the device
  * @dev:	the struct rc_dev descriptor of the device
- * @duration:	the struct ir_raw_event descriptor of the pulse/space
+ * @ev:		the struct ir_raw_event descriptor of the pulse/space
  *
  *
  * This function returns -EINVAL if the pulse violates the state machine
  * This function returns -EINVAL if the pulse violates the state machine
  */
  */

+ 1 - 1
drivers/media/rc/ir-xmp-decoder.c

@@ -35,7 +35,7 @@ enum xmp_state {
 /**
 /**
  * ir_xmp_decode() - Decode one XMP pulse or space
  * ir_xmp_decode() - Decode one XMP pulse or space
  * @dev:	the struct rc_dev descriptor of the device
  * @dev:	the struct rc_dev descriptor of the device
- * @duration:	the struct ir_raw_event descriptor of the pulse/space
+ * @ev:		the struct ir_raw_event descriptor of the pulse/space
  *
  *
  * This function returns -EINVAL if the pulse violates the state machine
  * This function returns -EINVAL if the pulse violates the state machine
  */
  */