From: Linus Walleij Date: Thu, 30 Apr 2015 13:15:50 +0000 (+0200) Subject: iio: magnetometer: support for lsm303dlh X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~761^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1038a6872802bb4a07f627162ff989bf49e2e5cc;p=pandora-kernel.git iio: magnetometer: support for lsm303dlh The LSM303DLH accelerometer/magnetometer has a different device identification method than using register 0x0f, instead three registers contain a magic value. We rely on WhoAmI to be zero for this variant. Signed-off-by: Linus Walleij Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed