projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a12ed7
)
iio: accel: st_accel_spi: fix spi_device_id table
author
Lorenzo Bianconi
<lorenzo.bianconi83@gmail.com>
Tue, 6 Jun 2017 20:51:23 +0000
(22:51 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 11 Jun 2017 14:07:39 +0000
(15:07 +0100)
Remove LSM303DL, LSM303DLM, LSM303DLH, LSM303DLHC from st_accel_id_table
since LSM303DL series does not support spi interface
Fixes:
d62511689de5
(iio: accel: Add STMicroelectronics accel driver)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/st_accel_spi.c
patch
|
blob
|
history
diff --git
a/drivers/iio/accel/st_accel_spi.c
b/drivers/iio/accel/st_accel_spi.c
index
29a15f2
..
1a867f5
100644
(file)
--- a/
drivers/iio/accel/st_accel_spi.c
+++ b/
drivers/iio/accel/st_accel_spi.c
@@
-47,15
+47,11
@@
static int st_accel_spi_remove(struct spi_device *spi)
}
static const struct spi_device_id st_accel_id_table[] = {
- { LSM303DLH_ACCEL_DEV_NAME },
- { LSM303DLHC_ACCEL_DEV_NAME },
{ LIS3DH_ACCEL_DEV_NAME },
{ LSM330D_ACCEL_DEV_NAME },
{ LSM330DL_ACCEL_DEV_NAME },
{ LSM330DLC_ACCEL_DEV_NAME },
{ LIS331DLH_ACCEL_DEV_NAME },
- { LSM303DL_ACCEL_DEV_NAME },
- { LSM303DLM_ACCEL_DEV_NAME },
{ LSM330_ACCEL_DEV_NAME },
{ LSM303AGR_ACCEL_DEV_NAME },
{ LIS2DH12_ACCEL_DEV_NAME },