Skip to content

Commit f00dd89

Browse files
dumitruceclanjic23
authored andcommitted
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: 76a1e6a ("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>
1 parent 3450ee7 commit f00dd89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/iio/adc/ad7173.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,6 @@ static const struct iio_chan_spec ad7173_channel_template = {
815815

816816
static const struct iio_chan_spec ad7173_temp_iio_channel_template = {
817817
.type = IIO_TEMP,
818-
.indexed = 1,
819818
.channel = AD7173_AIN_TEMP_POS,
820819
.channel2 = AD7173_AIN_TEMP_NEG,
821820
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |

0 commit comments

Comments
 (0)