From: Lars-Peter Clausen Date: Mon, 7 Oct 2013 14:11:00 +0000 (+0100) Subject: staging:iio:ad799x: Simplify threshold register look-up X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~196^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69582b888408cb218a6b346c345db7a66046497b;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed