iio: st_sensors: Add lsm303d support to the LSM9DS0 IMU driver

The lsm303d is basically the lsm9ds0 without the gyroscope
(which the LSM9DS0 IMU driver doesn't handle), as far as I
can tell.

Signed-off-by: Marius Hoch <mail@mariushoch.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20230415231130.115094-4-mail@mariushoch.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Marius Hoch 2023-04-16 01:11:27 +02:00 • committed by Jonathan Cameron
commit c0f68439ae
3 changed files with 12 additions and 1 deletions