Skip to content

Commit 3e8e45b

Browse files
Yang Lichanwoochoi
authored andcommitted
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/[email protected]/ Signed-off-by: Yang Li <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 986c51b commit 3e8e45b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/extcon/extcon-adc-jack.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
/**
2828
* struct adc_jack_data - internal data for adc_jack device driver
29+
* @dev: The device structure associated with the adc_jack.
2930
* @edev: extcon device.
3031
* @cable_names: list of supported cables.
3132
* @adc_conditions: list of adc value conditions.
@@ -35,6 +36,7 @@
3536
* handling at handling_delay jiffies.
3637
* @handler: extcon event handler called by interrupt handler.
3738
* @chan: iio channel being queried.
39+
* @wakeup_source: Indicates if the device can wake up the system.
3840
*/
3941
struct adc_jack_data {
4042
struct device *dev;

0 commit comments

Comments
 (0)