All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] extcon: adc-jack: Document missing struct members
@ 2024-04-26 10:00 Yang Li
  2024-05-08 15:05 ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-04-26 10:00 UTC (permalink / raw)
  To: myungjoo.ham, cw00.choi; +Cc: linux-kernel, Yang Li

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.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/extcon/extcon-adc-jack.c | 2 ++
 1 file changed, 2 insertions(+)

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;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] extcon: adc-jack: Document missing struct members
  2024-04-26 10:00 [PATCH -next] extcon: adc-jack: Document missing struct members Yang Li
@ 2024-05-08 15:05 ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2024-05-08 15:05 UTC (permalink / raw)
  To: Yang Li; +Cc: myungjoo.ham, cw00.choi, linux-kernel

On Fri, Apr 26, 2024 at 7:01 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> 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.
>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/extcon/extcon-adc-jack.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> 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;
> --
> 2.20.1.7.g153144c
>
>

Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-08 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26 10:00 [PATCH -next] extcon: adc-jack: Document missing struct members Yang Li
2024-05-08 15:05 ` Chanwoo Choi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.