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

backlight: sky81452: Fix sky81452_bl_platform_data kernel-doc

Correct the struct name and add a short struct description to fix the
kernel-doc notation.

Prevents this kernel-doc warning:
drivers/video/backlight/sky81452-backlight.c:64: warning: expecting prototype for struct sky81452_platform_data. Prototype was for struct sky81452_bl_platform_data instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230113064118.30169-1-rdunlap@infradead.org

authored by

Randy Dunlap and committed by
Lee Jones
3a396f98 5a7fbe45

+1 -1
+1 -1
drivers/video/backlight/sky81452-backlight.c
··· 41 41 #define SKY81452_MAX_BRIGHTNESS (SKY81452_CS + 1) 42 42 43 43 /** 44 - * struct sky81452_platform_data 44 + * struct sky81452_bl_platform_data - backlight platform data 45 45 * @name: backlight driver name. 46 46 * If it is not defined, default name is lcd-backlight. 47 47 * @gpiod_enable:GPIO descriptor which control EN pin