iio: adc: ad7173: order chipID by value
authorDumitru Ceclan <dumitru.ceclan@analog.com>
Mon, 12 Aug 2024 08:13:15 +0000 (11:13 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 30 Sep 2024 08:21:02 +0000 (09:21 +0100)
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>
Link: https://patch.msgid.link/20240812-ad4113-v3-2-046e785dd253@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7173.c

index 0702ec71aa29332036b30e5afd1996fc914baf92..b4e9ffef288887773c6694db949aac4582372c86 100644 (file)
@@ -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