Skip to contentSkip to conversation

backlight: lp855x: fix lp855x.h kernel-doc warnings

PATCH Applied Randy Dunlap 3 participants 3 messages Nov 11, 2025 – Nov 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 7be865ab8634 ("backlight: new backlight driver for LP855x devices")

---
Cc: Lee Jones <[email protected]>
Cc: Daniel Thompson <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: [email protected]

---
 include/linux/platform_data/lp855x.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/platform_data/lp855x.h +2 -2
@@ -124,12 +124,12 @@ struct lp855x_rom_data {
 };
 
 /**
- * struct lp855x_platform_data
+ * struct lp855x_platform_data - lp855 platform-specific data
  * @name : Backlight driver name. If it is not defined, default name is set.
  * @device_control : value of DEVICE CONTROL register
  * @initial_brightness : initial value of backlight brightness
  * @period_ns : platform specific pwm period value. unit is nano.
-		Only valid when mode is PWM_BASED.
+ *		Only valid when mode is PWM_BASED.
  * @size_program : total size of lp855x_rom_data
  * @rom_data : list of new eeprom/eprom registers
  */
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Randy Dunlap

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 7be865ab8634 ("backlight: new backlight driver for LP855x devices")

Daniel.

Applied
#2 lore raw

Re: (subset) [PATCH] backlight: lp855x: fix lp855x.h kernel-doc warnings

In reply to Randy Dunlap
Quoted 10 lines · Randy Dunlap

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.

[...]

Applied, thanks!

[1/1] backlight: lp855x: fix lp855x.h kernel-doc warnings

      commit: 1704e206cb98c5e43af1483e3b07450055a31008

--
Lee Jones [李琼斯]