summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-01-13 09:41:18 +0300
committerLee Jones <lee@kernel.org>2023-02-22 13:55:26 +0300
commit3a396f9859755e822775319516cd71dabc2b4e69 (patch)
treebd704bfa55ab6272d4c0a86c5ab419a81935cf49 /drivers/video
parent5a7fbe452ad9e4a8988d4c20d7acf148383f8106 (diff)
downloadlinux-3a396f9859755e822775319516cd71dabc2b4e69.tar.xz
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
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/sky81452-backlight.c2
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