Skip to contentSkip to conversation

backlight: cgbc_bl: fix kernel-doc comment for struct cgbc_bl_data

PATCH In review Kit Dallege 2 participants 2 messages Mar 15 – Mar 16

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 4/5 backlight: cgbc_bl: fix kernel-doc comment for struct cgbc_bl_data

Add the required 'struct cgbc_bl_data -' prefix to the kernel-doc comment so it is properly recognized as struct documentation.

This fixes the following warning:

drivers/video/backlight/cgbc_bl.c:29: This comment starts with '/**', but isn't a kernel-doc comment

---
 drivers/video/backlight/cgbc_bl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/backlight/cgbc_bl.c +1 -1
index ab27e14338a8..6b70cd2f0ddd 100644
@@ -27,7 +27,7 @@
 #define CGBC_BL_MAX_BRIGHTNESS     100
 
 /**
- * CGBC backlight driver data
+ * struct cgbc_bl_data - CGBC backlight driver data
  * @dev: Pointer to the platform device
  * @cgbc: Pointer to the parent CGBC device data
  * @current_brightness: Current brightness level (0-100)
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 9 lines · Kit Dallege

Add the required 'struct cgbc_bl_data -' prefix to the kernel-doc comment so it is properly recognized as struct documentation.

This fixes the following warning:

drivers/video/backlight/cgbc_bl.c:29: This comment starts with '/**', but isn't a kernel-doc comment

Real names please.

Signature · 1 line
Lee Jones [李琼斯]