[PATCH] iio: imu: inv_icm42600: drop stale vdd_supply kernel-doc
From: Arnav Kapoor
Date: Sat Oct 03 2026 - 01:54:37 EST
The vdd_supply member was removed from struct inv_icm42600_state when
the driver switched to devm_regulator_get_enable() for the VDD
regulator, but its kernel-doc entry was left behind. This triggers a
W=1 warning:
Warning: drivers/iio/imu/inv_icm42600/inv_icm42600.h:186 Excess struct
member 'vdd_supply' description in 'inv_icm42600_state'
Drop the stale line.
Fixes: 9fd569aa3d70 ("iio: imu: inv_icm42600: Use devm_regulator_get_enable() for vdd regulator")
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Arnav Kapoor <kapoorarnav43@xxxxxxxxx>
---
Comment-only change, checked with scripts/kernel-doc -Wall.
drivers/iio/imu/inv_icm42600/inv_icm42600.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/imu/inv_icm42600/inv_icm42600.h b/drivers/iio/imu/inv_icm42600/inv_icm42600.h
index e56943931b6a..3737e79dbcc1 100644
--- a/drivers/iio/imu/inv_icm42600/inv_icm42600.h
+++ b/drivers/iio/imu/inv_icm42600/inv_icm42600.h
@@ -151,7 +151,6 @@ struct inv_icm42600_apex {
* @chip: chip identifier.
* @name: chip name.
* @map: regmap pointer.
- * @vdd_supply: VDD voltage regulator for the chip.
* @vddio_supply: I/O voltage regulator for the chip.
* @irq: chip irq, required to enable/disable and set wakeup
* @orientation: sensor chip orientation relative to main hardware.
--
2.53.0