Skip to content

Commit 85ff37e

Browse files
andy-shevthierryreding
authored andcommitted
gpiolib: cdev: Fix kernel doc for struct line
Kernel doc validator is not happy: gpiolib-cdev.c:487: warning: Function parameter or member 'hdesc' not described in 'line' gpiolib-cdev.c:487: warning: Function parameter or member 'raw_level' not described in 'line' gpiolib-cdev.c:487: warning: Function parameter or member 'total_discard_seq' not described in 'line' gpiolib-cdev.c:487: warning: Function parameter or member 'last_seqno' not described in 'line' Describe above mentioned parameters. Fixes: 2068339 ("gpiolib: cdev: Add hardware timestamp clock type") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Dipen Patel <dipenp@nvidia.com> Acked-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 5dad4ec commit 85ff37e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpio/gpiolib-cdev.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ static int linehandle_create(struct gpio_device *gdev, void __user *ip)
421421
* @work: the worker that implements software debouncing
422422
* @sw_debounced: flag indicating if the software debouncer is active
423423
* @level: the current debounced physical level of the line
424+
* @hdesc: the Hardware Timestamp Engine (HTE) descriptor
425+
* @raw_level: the line level at the time of event
426+
* @total_discard_seq: the running counter of the discarded events
427+
* @last_seqno: the last sequence number before debounce period expires
424428
*/
425429
struct line {
426430
struct gpio_desc *desc;

0 commit comments

Comments
 (0)