pwm: add missing kernel-doc for pwm_chip:cdev
PATCH 1/1 pwm: add missing kernel-doc for pwm_chip:cdev
Add a kernel-doc description of @cdev to prevent a build warning:
include/linux/pwm.h:308: warning: Function parameter or struct member 'cdev' not described in 'pwm_chip'
Signed-off-by Randy Dunlap <[email protected]>
---
Cc: Uwe Kleine-König <[email protected]>
Cc: [email protected]
include/linux/pwm.h | 1 + 1 file changed, 1 insertion(+)
include/linux/pwm.h +1 -0
@@ -268,6 +268,7 @@ struct pwm_ops {/** * struct pwm_chip - abstract a PWM controller * @dev: device providing the PWMs +* @cdev: &struct cdev for this device * @ops: callbacks for this PWM controller * @owner: module providing this chip * @id: unique number of this PWM chip
Hello Randy,
Quoted 5 lines · Randy Dunlap
Add a kernel-doc description of @cdev to prevent a build warning:
include/linux/pwm.h:308: warning: Function parameter or struct member 'cdev' not described in 'pwm_chip'Signed-off-by Randy Dunlap <[email protected]>
Thanks for the fix, I applied it to my for-next branch at
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next .
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |