From: Lars-Peter Clausen Date: Wed, 17 Jul 2013 14:44:00 +0000 (+0100) Subject: staging:iio:adis16260: Add value range check for calibscale/-bias X-Git-Tag: v3.12-rc1~183^2~322^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f87d04116ab2f1419f1e85c1c9504536858b88;p=pandora-kernel.git staging:iio:adis16260: Add value range check for calibscale/-bias Instead of just cutting of the upper bits of the value make sure that the value is in the valid range and return an error if it is not. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed