[PATCH] thermal/drivers/max77620: Fix max77620_thermal_read_temp() kernel-doc

Jeff Johnson posted 1 patch 1 year, 7 months ago
drivers/thermal/max77620_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] thermal/drivers/max77620: Fix max77620_thermal_read_temp() kernel-doc
Posted by Jeff Johnson 1 year, 7 months ago
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@quicinc.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