Skip to content

Commit 2d45db6

Browse files
rddunlaplag-linaro
authored andcommitted
backlight: lp855x: Fix lp855x.h kernel-doc warnings
Add a missing struct short description and a missing leading " *" to lp855x.h to avoid kernel-doc warnings: Warning: include/linux/platform_data/lp855x.h:126 missing initial short description on line: * struct lp855x_platform_data Warning: include/linux/platform_data/lp855x.h:131 bad line: Only valid when mode is PWM_BASED. Fixes: 7be865a ("backlight: new backlight driver for LP855x devices") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> Link: https://patch.msgid.link/20251111060916.1995920-1-rdunlap@infradead.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 25c2b40 commit 2d45db6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/platform_data/lp855x.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ struct lp855x_rom_data {
124124
};
125125

126126
/**
127-
* struct lp855x_platform_data
127+
* struct lp855x_platform_data - lp855 platform-specific data
128128
* @name : Backlight driver name. If it is not defined, default name is set.
129129
* @device_control : value of DEVICE CONTROL register
130130
* @initial_brightness : initial value of backlight brightness
131131
* @period_ns : platform specific pwm period value. unit is nano.
132-
Only valid when mode is PWM_BASED.
132+
* Only valid when mode is PWM_BASED.
133133
* @size_program : total size of lp855x_rom_data
134134
* @rom_data : list of new eeprom/eprom registers
135135
*/

0 commit comments

Comments
 (0)