Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Lee Jones
d0c2df0c 08b7dab9

+1 -2
+1 -2
drivers/leds/flash/leds-lm3601x.c
··· 70 70 }; 71 71 72 72 /** 73 - * struct lm3601x_led - 73 + * struct lm3601x_led - private lm3601x LED data 74 74 * @fled_cdev: flash LED class device pointer 75 75 * @client: Pointer to the I2C client 76 76 * @regmap: Devices register map 77 77 * @lock: Lock for reading/writing the device 78 - * @led_name: LED label for the Torch or IR LED 79 78 * @flash_timeout: the timeout for the flash 80 79 * @last_flag: last known flags register value 81 80 * @torch_current_max: maximum current for the torch