[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240506-max77620_thermal_read_temp-kdoc-v1-1-679f0486d52c@quicinc.com>
Date: Mon, 6 May 2024 09:23:35 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano
<daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>, Lukasz Luba
<lukasz.luba@....com>
CC: <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Jeff Johnson
<quic_jjohnson@...cinc.com>
Subject: [PATCH] thermal/drivers/max77620: Fix max77620_thermal_read_temp()
kernel-doc
Fix the following kernel-doc issues reported by make W=1:
drivers/thermal/max77620_thermal.c:48: warning: Function parameter or struct member 'tz' not described in 'max77620_thermal_read_temp'
drivers/thermal/max77620_thermal.c:48: warning: Excess function parameter 'data' description in 'max77620_thermal_read_temp'
Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
---
drivers/thermal/max77620_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/max77620_thermal.c b/drivers/thermal/max77620_thermal.c
index 85a12e98d6dc..f0cfe1a8fa94 100644
--- a/drivers/thermal/max77620_thermal.c
+++ b/drivers/thermal/max77620_thermal.c
@@ -32,7 +32,7 @@ struct max77620_therm_info {
/**
* max77620_thermal_read_temp: Read PMIC die temperatue.
- * @data: Device specific data.
+ * @tz: Device specific data.
* @temp: Temperature in millidegrees Celsius
*
* The actual temperature of PMIC die is not available from PMIC.
---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240506-max77620_thermal_read_temp-kdoc-61110a446d53
Powered by blists - more mailing lists