[PATCH] iio: Comment that the LSM303D also has the Magnetometer DRDY

From: mail
Date: Wed Apr 12 2023 - 18:37:17 EST


From: Marius Hoch <mail@xxxxxxxxxxxxx>

Per its datasheet, the LSM303D also features that
pin.

Signed-off-by: Marius Hoch <mail@xxxxxxxxxxxxx>
---
include/linux/platform_data/st_sensors_pdata.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/st_sensors_pdata.h b/include/linux/platform_data/st_sensors_pdata.h
index 897051e51b78..a657830232ae 100644
--- a/include/linux/platform_data/st_sensors_pdata.h
+++ b/include/linux/platform_data/st_sensors_pdata.h
@@ -15,7 +15,7 @@
* @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2).
* Available only for accelerometer, magnetometer and pressure sensors.
* Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet).
- * Magnetometer DRDY is supported only on LSM9DS0.
+ * Magnetometer DRDY is supported only on LSM9DS0 and LSM303D.
* @open_drain: set the interrupt line to be open drain if possible.
* @spi_3wire: enable spi-3wire mode.
* @pullups: enable/disable i2c controller pullup resistors.
--
2.39.2