diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2013-06-14 16:58:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2013-06-14 21:52:54 +0100 |
| commit | 3f8db0d46be2e57110771cbebc42141934e4cf5a (patch) | |
| tree | df0369a23184b4da6eb9a5fff9a159e77370218a /tools/perf/scripts/python | |
| parent | 08d7a70c01c68e8d457d232eea426fe21bd36670 (diff) | |
staging:iio:ad7291: Simplify threshold register lookup
The AD7291 register map is nicely uniform and we can easily compute the
threshold register address for a certain channel using simple math instead of
using a look-up table.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
