From: Linus Walleij Date: Tue, 19 May 2015 13:37:02 +0000 (+0200) Subject: iio: st_accel: support 8bit channel data X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~256^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4861a007bfd71a9fc0a83cc7fad41dda9bf8b5b7;p=pandora-kernel.git iio: st_accel: support 8bit channel data Some sensors like the LIS331DL only support 8bit data by a single register per axis. These utilize the MSB byte. Make it possible to register these apropriately. A oneliner change is needed in the ST sensors core to handle 8bit reads as this is the first supported 8bit sensor. Signed-off-by: Linus Walleij Acked-by: Denis Ciocca Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed