Commit 3e8e45b6 authored by Yang Li's avatar Yang Li Committed by Chanwoo Choi
Browse files

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: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 986c51b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;