Skip to content

Commit d0c2df0

Browse files
rddunlaplag-linaro
authored andcommitted
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 <[email protected]> Acked-by: Vadim Pasternak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 08b7dab commit d0c2df0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/leds/flash/leds-lm3601x.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ enum lm3601x_type {
7070
};
7171

7272
/**
73-
* struct lm3601x_led -
73+
* struct lm3601x_led - private lm3601x LED data
7474
* @fled_cdev: flash LED class device pointer
7575
* @client: Pointer to the I2C client
7676
* @regmap: Devices register map
7777
* @lock: Lock for reading/writing the device
78-
* @led_name: LED label for the Torch or IR LED
7978
* @flash_timeout: the timeout for the flash
8079
* @last_flag: last known flags register value
8180
* @torch_current_max: maximum current for the torch

0 commit comments

Comments
 (0)