diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-01-13 07:41:18 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-02-22 11:55:26 +0100 |
commit | 3a396f9859755e822775319516cd71dabc2b4e69 (patch) | |
tree | bd704bfa55ab6272d4c0a86c5ab419a81935cf49 | |
parent | backlight: pwm_bl: Drop support for legacy PWM probing (diff) | |
download | linux-3a396f9859755e822775319516cd71dabc2b4e69.tar.xz linux-3a396f9859755e822775319516cd71dabc2b4e69.zip |
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
-rw-r--r-- | drivers/video/backlight/sky81452-backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/sky81452-backlight.c b/drivers/video/backlight/sky81452-backlight.c index c95e0de7f4e7..0172438c38ce 100644 --- a/drivers/video/backlight/sky81452-backlight.c +++ b/drivers/video/backlight/sky81452-backlight.c @@ -41,7 +41,7 @@ #define SKY81452_MAX_BRIGHTNESS (SKY81452_CS + 1) /** - * struct sky81452_platform_data + * struct sky81452_bl_platform_data - backlight platform data * @name: backlight driver name. * If it is not defined, default name is lcd-backlight. * @gpiod_enable:GPIO descriptor which control EN pin |