diff mbox series

[v3,2/3] iio: adc: ad7173: order chipID by value

Message ID 20240812-ad4113-v3-2-046e785dd253@analog.com (mailing list archive)
State Accepted
Headers show
Series Add support for AD4113 | expand

Commit Message

Dumitru Ceclan via B4 Relay Aug. 12, 2024, 8:13 a.m. UTC
From: Dumitru Ceclan <dumitru.ceclan@analog.com>

The chipIDs defines were supposed to be ordered by value, one was out of
order. Fix the order.

Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
---
 drivers/iio/adc/ad7173.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index a854f2d30174..a2bfc28932a5 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -76,8 +76,8 @@ 
 					(x) == AD7173_AIN_REF_NEG)
 
 #define AD7172_2_ID			0x00d0
-#define AD7175_ID			0x0cd0
 #define AD7176_ID			0x0c90
+#define AD7175_ID			0x0cd0
 #define AD7175_2_ID			0x0cd0
 #define AD7172_4_ID			0x2050
 #define AD7173_ID			0x30d0