From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>, Pavel Machek <pavel@ucw.cz>,
Lee Jones <lee@kernel.org>,
linux-leds@vger.kernel.org
Subject: [PATCH v2 1/3] leds: lm3601x: fix struct lm3601_led kernel-doc warnings
Date: Wed, 28 Feb 2024 23:19:29 -0800 [thread overview]
Message-ID: <20240229071931.7870-2-rdunlap@infradead.org> (raw)
In-Reply-To: <20240229071931.7870-1-rdunlap@infradead.org>
Add a short struct description and remove one extraneous struct field
description to quieten these warnings:
leds-lm3601x.c:73: warning: missing initial short description on line:
* struct lm3601x_led -
leds-lm3601x.c:100: warning: Excess struct member 'led_name' description in 'lm3601x_led'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Lee Jones <lee@kernel.org>
Cc: linux-leds@vger.kernel.org
---
v2: make the 3 leds patches a series as requested by Lee;
make the Subject better/unique
drivers/leds/flash/leds-lm3601x.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -- a/drivers/leds/flash/leds-lm3601x.c b/drivers/leds/flash/leds-lm3601x.c
--- a/drivers/leds/flash/leds-lm3601x.c
+++ b/drivers/leds/flash/leds-lm3601x.c
@@ -70,12 +70,11 @@ enum lm3601x_type {
};
/**
- * struct lm3601x_led -
+ * struct lm3601x_led - private lm3601x LED data
* @fled_cdev: flash LED class device pointer
* @client: Pointer to the I2C client
* @regmap: Devices register map
* @lock: Lock for reading/writing the device
- * @led_name: LED label for the Torch or IR LED
* @flash_timeout: the timeout for the flash
* @last_flag: last known flags register value
* @torch_current_max: maximum current for the torch
next prev parent reply other threads:[~2024-02-29 7:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-29 7:19 [PATCH] leds: fix 3 drivers' " Randy Dunlap
2024-02-29 7:19 ` Randy Dunlap [this message]
2024-02-29 7:19 ` [PATCH v2 2/3] leds: leds-mlxcpld: fix struct mlxcpld_led_priv member name Randy Dunlap
2024-02-29 7:19 ` [PATCH v2 3/3] leds: mlxreg: drop an excess struct mlxreg_led_data member Randy Dunlap
2024-02-29 7:23 ` [PATCH] leds: fix 3 drivers' kernel-doc warnings Vadim Pasternak
2024-02-29 17:53 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240229071931.7870-2-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®