aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Popa <[email protected]>2018-12-13 14:46:18 +0200
committerJonathan Cameron <[email protected]>2018-12-22 16:58:13 +0000
commit41f71e5e7dafb4608834d6e3be49b5568639c0c1 (patch)
treea183b7cf611f094a37242010ce2bcb28c7ba9077 /tools/perf/scripts/python
parentc0683bfd3772337353e95decc2bf0421058088f7 (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