diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2024-02-28 23:19:29 -0800 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-03-07 08:48:15 +0000 |
commit | d0c2df0c7b216872d8e8a61fc258b4e3c1f4d1da (patch) | |
tree | d4410b7c8921cea5d8c8893dc1cb817af05cc04c /drivers/leds | |
parent | 08b7dab9f025e20dc02bb4ad19b8e519c3948d20 (diff) |
leds: lm3601x: Fix struct lm3601_led kernel-doc warnings
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>
Acked-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20240229071931.7870-2-rdunlap@infradead.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/flash/leds-lm3601x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/leds/flash/leds-lm3601x.c b/drivers/leds/flash/leds-lm3601x.c index 8191be0ef0c6..7e93c447fec5 100644 --- 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 |