diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2024-04-26 13:00:54 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2024-05-08 19:03:39 +0300 |
commit | 3e8e45b65d9f3f1811c020325a306da0f01e485b (patch) | |
tree | 17f0eca265141d8d83bfcbc8009fe71684f3ccf2 /drivers/extcon | |
parent | 986c51b95948e0aff81295a34c4498a7547f7bf6 (diff) | |
download | linux-3e8e45b65d9f3f1811c020325a306da0f01e485b.tar.xz |
extcon: adc-jack: Document missing struct members
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-adc-jack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c index cf5050a244b2..125016da7fde 100644 --- a/drivers/extcon/extcon-adc-jack.c +++ b/drivers/extcon/extcon-adc-jack.c @@ -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; |