From: David Lechner Date: Tue, 23 Sep 2025 20:33:18 +0000 (-0500) Subject: iio: adc: ad7124: add ext attributes to temperature channel X-Git-Tag: v6.19-rc1~65^2~58^2~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0649002e842000872c69caceff0d20da48b2cc44;p=thirdparty%2Fkernel%2Flinux.git iio: adc: ad7124: add ext attributes to temperature channel Use the same .ext_info for the temperature channel as for the voltage channels. In the ADC, these all go though a mux to select the source and otherwise operate the same. These attributes probably won't be used much, but since it is trivial to add this, we might as well include them. Signed-off-by: David Lechner Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/ad7124.c b/drivers/iio/adc/ad7124.c index 374e39736584f..7ed31399a875b 100644 --- a/drivers/iio/adc/ad7124.c +++ b/drivers/iio/adc/ad7124.c @@ -1348,6 +1348,7 @@ static int ad7124_parse_channel_config(struct iio_dev *indio_dev, }, .address = num_channels, .scan_index = num_channels, + .ext_info = ad7124_calibsys_ext_info, }; }