summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorGabriel Rondon <grondon@gmail.com>2026-03-30 19:15:27 +0100
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:19 +0100
commit7328d444c19eb31a2b6033969ff4fd170309326c (patch)
tree573574e00b38c56c6361a28551aca17953c5d491 /tools/perf/scripts/python/bin/task-analyzer-record
parent5bcbbcfb7c91b9ab759397d7ca5b317a87284665 (diff)
iio: adc: ti-ads8688: use read_avail for available attributes
Convert the in_voltage_scale_available and in_voltage_offset_available attributes from legacy IIO_DEVICE_ATTR with custom show functions to the IIO framework's read_avail callback. This uses the framework's built-in support for _available attributes, removing the need for manual sysfs formatting. Precompute the available scale values at probe time since they depend on the reference voltage which does not change after initialization. Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Gabriel Rondon <grondon@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions