]> git.ipfire.org Git - thirdparty/linux.git/commit
leds: lm3692x: Fix kernel-doc for struct lm3692x_led
authorVivek BalachandharTN <vivek.balachandhar@gmail.com>
Mon, 1 Dec 2025 04:26:12 +0000 (04:26 +0000)
committerLee Jones <lee@kernel.org>
Thu, 8 Jan 2026 10:42:47 +0000 (10:42 +0000)
commit101bc85a19436825e8c94a27e792cd9750aad708
treeb3b14dbbfeabd20050eb67d3e231a3ff682ca75c
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
leds: lm3692x: Fix kernel-doc for struct lm3692x_led

Building with W=1 reports several kernel-doc warnings in
drivers/leds/leds-lm3692x.c:

  Warning: leds-lm3692x.c:122 struct member 'boost_ctrl'
  not described in 'lm3692x_led'
  Warning: leds-lm3692x.c:122 struct member 'brightness_ctrl'
  not described in 'lm3692x_led'
  Warning: leds-lm3692x.c:122 struct member 'enabled'
  not described in 'lm3692x_led'

These fields were added to struct lm3692x_led but the corresponding
kernel-doc comment was not updated. Convert the kernel-doc block to
use the "@member: description" style consistently and document the
boost_ctrl, brightness_ctrl and enabled fields.

This keeps the documentation in sync with the implementation and
silences the W=1 warnings.

Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
Link: https://patch.msgid.link/20251201042612.2099239-1-vivek.balachandhar@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-lm3692x.c