diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-03-10 15:43:05 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-07 19:34:10 +0100 |
| commit | dc78e71d7c1534293eaf6d17c5ce83e547532cf9 (patch) | |
| tree | d02d33f8de05f4bbdd28848e828bc0f3d945ab75 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | de67f28abe586fc26711389fe80c01b658020c2c (diff) | |
| download | linux-dc78e71d7c1534293eaf6d17c5ce83e547532cf9.tar.gz linux-dc78e71d7c1534293eaf6d17c5ce83e547532cf9.zip | |
iio: adc: ad4030: remove some duplicate code
Remove some duplicate code in the ad4030_get_chan_scale() function by
simplifying the if statement.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250310-iio-adc-ad4030-check-scan-type-err-v1-2-589e4ebd9711@baylibre.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
