public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: tsl2772: fix all kernel-doc warnings
@ 2026-02-26  5:12 Randy Dunlap
  2026-02-26  8:04 ` Andy Shevchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2026-02-26  5:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, linux-iio

Use the correct kernel-doc notation for struct members to eliminate
kernel-doc warnings:

Warning: include/linux/platform_data/tsl2772.h:88 struct member
 'prox_diode' not described in 'tsl2772_settings'
Warning: include/linux/platform_data/tsl2772.h:88 struct member
 'prox_power' not described in 'tsl2772_settings'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: David Lechner <dlechner@baylibre.com>
Cc: Nuno Sá <nuno.sa@analog.com>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: linux-iio@vger.kernel.org

 include/linux/platform_data/tsl2772.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20260225.orig/include/linux/platform_data/tsl2772.h
+++ linux-next-20260225/include/linux/platform_data/tsl2772.h
@@ -61,9 +61,9 @@ struct tsl2772_lux {
  *  @prox_pulse_count:      Number if proximity emitter pulses.
  *  @prox_max_samples_cal:  The number of samples that are taken when performing
  *                          a proximity calibration.
- *  @prox_diode             Which diode(s) to use for driving the external
+ *  @prox_diode:            Which diode(s) to use for driving the external
  *                          LED(s) for proximity sensing.
- *  @prox_power             The amount of power to use for the external LED(s).
+ *  @prox_power:            The amount of power to use for the external LED(s).
  */
 struct tsl2772_settings {
 	int als_time;

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-28 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26  5:12 [PATCH] iio: tsl2772: fix all kernel-doc warnings Randy Dunlap
2026-02-26  8:04 ` Andy Shevchenko
2026-02-26 19:14   ` Randy Dunlap
2026-02-26 20:29     ` Andy Shevchenko
2026-02-26 22:25       ` Randy Dunlap
2026-02-28 13:12         ` Jonathan Cameron
2026-02-28 13:13   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox