Commit d0c2df0c authored by Randy Dunlap's avatar Randy Dunlap Committed by Lee Jones

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: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarVadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20240229071931.7870-2-rdunlap@infradead.orgSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 08b7dab9
...@@ -70,12 +70,11 @@ enum lm3601x_type { ...@@ -70,12 +70,11 @@ enum lm3601x_type {
}; };
/** /**
* struct lm3601x_led - * struct lm3601x_led - private lm3601x LED data
* @fled_cdev: flash LED class device pointer * @fled_cdev: flash LED class device pointer
* @client: Pointer to the I2C client * @client: Pointer to the I2C client
* @regmap: Devices register map * @regmap: Devices register map
* @lock: Lock for reading/writing the device * @lock: Lock for reading/writing the device
* @led_name: LED label for the Torch or IR LED
* @flash_timeout: the timeout for the flash * @flash_timeout: the timeout for the flash
* @last_flag: last known flags register value * @last_flag: last known flags register value
* @torch_current_max: maximum current for the torch * @torch_current_max: maximum current for the torch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment