]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad7124: add ext attributes to temperature channel
authorDavid Lechner <dlechner@baylibre.com>
Tue, 23 Sep 2025 20:33:18 +0000 (15:33 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:16 +0000 (11:59 +0100)
commit0649002e842000872c69caceff0d20da48b2cc44
treecc3c1ba9763eea1b03b18e0cb45ae465deaf2cfe
parent620636f497337a9faedba336d3388091c9a540e9
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 <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7124.c