commit | 1038a6872802bb4a07f627162ff989bf49e2e5cc | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 30 15:15:50 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu May 07 10:42:34 2015 +0100 |
tree | ef6ecde1b4806c79c8c798741b63c2b8c4ca635c | |
parent | 5e02bac3172fcad964eeef70ad21f583982a6eba [diff] |
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 <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>