Skip to content

Commit

Permalink
iio: adc: ad7173: order chipID by value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dumitru Ceclan authored and Jonathan Cameron committed Sep 30, 2024
1 parent 918e4c5 commit 8a9687b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/adc/ad7173.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a9687b

Please sign in to comment.