diff options
| author | Stefan Popa <stefan.popa@analog.com> | 2018-12-13 14:46:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-22 16:58:13 +0000 |
| commit | 41f71e5e7dafb4608834d6e3be49b5568639c0c1 (patch) | |
| tree | a183b7cf611f094a37242010ce2bcb28c7ba9077 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c0683bfd3772337353e95decc2bf0421058088f7 (diff) | |
| download | linux-41f71e5e7dafb4608834d6e3be49b5568639c0c1.tar.gz linux-41f71e5e7dafb4608834d6e3be49b5568639c0c1.zip | |
staging: iio: adc: ad7606: Use find_closest() macro
When looking for the available scale or oversampling ratio, it is better
to use the find_closest() macro. This simplifies the code and also does
not require an exact value to be entered from the user space.
Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
