diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-07 15:11:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-12 12:52:33 +0100 |
commit | 69582b888408cb218a6b346c345db7a66046497b (patch) | |
tree | bb603833f55662300b367355c57120816d100853 /drivers/pnp | |
parent | ec6670ae53c13d767bdb7b3e37755ad661395380 (diff) | |
download | talos-op-linux-69582b888408cb218a6b346c345db7a66046497b.tar.gz talos-op-linux-69582b888408cb218a6b346c345db7a66046497b.zip |
staging:iio:ad799x: Simplify threshold register look-up
Given a channel number the corresponding threshold and hysteresis registers can
easily be calculated. No need to use a look-up table.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions