[PATCH] iio: tsl2772: fix all kernel-doc warnings
From: Randy Dunlap
Date: Thu Feb 26 2026 - 00:14:45 EST
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@xxxxxxxxxxxxx>
---
Cc: Jonathan Cameron <jic23@xxxxxxxxxx>
Cc: David Lechner <dlechner@xxxxxxxxxxxx>
Cc: Nuno Sá <nuno.sa@xxxxxxxxxx>
Cc: Andy Shevchenko <andy@xxxxxxxxxx>
Cc: linux-iio@xxxxxxxxxxxxxxx
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;