diff mbox series

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

Message ID 20240506-max77620_thermal_read_temp-kdoc-v1-1-679f0486d52c@quicinc.com
State New
Headers show
Series thermal/drivers/max77620: Fix max77620_thermal_read_temp() kernel-doc | expand

Commit Message

Jeff Johnson May 6, 2024, 4:23 p.m. UTC
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(-)


---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240506-max77620_thermal_read_temp-kdoc-61110a446d53
diff mbox series

Patch

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.