diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-09-17 15:39:22 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-13 08:37:22 +0100 |
| commit | 0b02af932b7e7777074d78203e8e336a9dc30400 (patch) | |
| tree | 1b94c3e81b9c215cddb1175717eb265f19638555 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 5f31df5075a7f8967401ded5d54be04f62b172a2 (diff) | |
| download | linux-0b02af932b7e7777074d78203e8e336a9dc30400.tar.gz linux-0b02af932b7e7777074d78203e8e336a9dc30400.zip | |
iio: adc: ad7124: inline ad7124_enable_channel()
Inline ad7124_enable_channel() at the only call site. This simplifies
the code by avoiding a bit of extra indirection.
ch->nr is replaced by address as that is the same value and avoids more
indirection.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
