diff options
| author | Stefan Popa <[email protected]> | 2018-12-13 14:46:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-12-22 16:58:13 +0000 |
| commit | 41f71e5e7dafb4608834d6e3be49b5568639c0c1 (patch) | |
| tree | a183b7cf611f094a37242010ce2bcb28c7ba9077 /tools/perf/scripts/python | |
| parent | c0683bfd3772337353e95decc2bf0421058088f7 (diff) | |
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions