summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDumitru Ceclan <dumitru.ceclan@analog.com>2024-05-21 11:45:41 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-05-27 11:49:20 +0300
commitf00dd8953094091a8e9c8cc00661d01c33b93615 (patch)
treeaa3c6818dbfb255c2aed6f4ec70e32980669dd11
parent3450ee7e800a8dc83290780c1b6ef66898e709d3 (diff)
downloadlinux-f00dd8953094091a8e9c8cc00661d01c33b93615.tar.xz
iio: adc: ad7173: Remove index from temp channel
Temperature channel is unique per device, index is not needed. This is breaking userspace: Include fixes tag to be released within the same rc cycle. Fixes: 76a1e6a42802 ("iio: adc: ad7173: add AD7173 driver") Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com> Link: https://lore.kernel.org/r/20240521-ad7173-fixes-v1-3-8161cc7f3ad1@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/ad7173.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index 4649af5f9d76..048127bf979a 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -815,7 +815,6 @@ static const struct iio_chan_spec ad7173_channel_template = {
static const struct iio_chan_spec ad7173_temp_iio_channel_template = {
.type = IIO_TEMP,
- .indexed = 1,
.channel = AD7173_AIN_TEMP_POS,
.channel2 = AD7173_AIN_TEMP_NEG,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |