extcon: adc-jack: Document missing struct members
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 26 Apr 2024 10:00:54 +0000 (18:00 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 8 May 2024 16:03:39 +0000 (01:03 +0900)
This patch adds kernel-doc comments for the previously undocumented
members `dev` and `wakeup_source` in the struct adc_jack_data in
adc-jack device driver.

Link: https://lore.kernel.org/lkml/20240426100054.61506-1-yang.lee@linux.alibaba.com/
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c

index cf5050a244b22f0103f0448c85478c9ad874f150..125016da7fde3f095b3b425a62204fc6aa5b8690 100644 (file)
@@ -26,6 +26,7 @@
 
 /**
  * struct adc_jack_data - internal data for adc_jack device driver
+ * @dev:               The device structure associated with the adc_jack.
  * @edev:              extcon device.
  * @cable_names:       list of supported cables.
  * @adc_conditions:    list of adc value conditions.
@@ -35,6 +36,7 @@
  *                     handling at handling_delay jiffies.
  * @handler:           extcon event handler called by interrupt handler.
  * @chan:              iio channel being queried.
+ * @wakeup_source:     Indicates if the device can wake up the system.
  */
 struct adc_jack_data {
        struct device *dev;