summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDumitru Ceclan <dumitru.ceclan@analog.com>2024-08-12 11:13:15 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-09-30 09:21:02 +0100
commit8a9687b30a29cb030bcde690d4a53a8a7bb691cb (patch)
tree07818510b354eef9b7f6a220446b206321b394ce
parent918e4c56bd1c28332947682aa1b0e990ed62b94f (diff)
iio: adc: ad7173: order chipID by value
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>
-rw-r--r--drivers/iio/adc/ad7173.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index 0702ec71aa29..b4e9ffef2888 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