* [PATCH 0/2] Remove LSM303DL series from acc-magn spi_device_id tables @ 2017-06-06 20:51 Lorenzo Bianconi 2017-06-06 20:51 ` [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table Lorenzo Bianconi 2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi 0 siblings, 2 replies; 5+ messages in thread From: Lorenzo Bianconi @ 2017-06-06 20:51 UTC (permalink / raw) To: jic23; +Cc: linux-iio, lorenzo.bianconi, denis.ciocca Lorenzo Bianconi (2): iio: accel: st_accel_spi: fix spi_device_id table iio: magnetometer: st_magn_spi: fix spi_device_id table drivers/iio/accel/st_accel_spi.c | 4 ---- drivers/iio/magnetometer/st_magn_spi.c | 2 -- 2 files changed, 6 deletions(-) -- 2.12.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table 2017-06-06 20:51 [PATCH 0/2] Remove LSM303DL series from acc-magn spi_device_id tables Lorenzo Bianconi @ 2017-06-06 20:51 ` Lorenzo Bianconi 2017-06-11 13:49 ` Jonathan Cameron 2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi 1 sibling, 1 reply; 5+ messages in thread From: Lorenzo Bianconi @ 2017-06-06 20:51 UTC (permalink / raw) To: jic23; +Cc: linux-iio, lorenzo.bianconi, denis.ciocca 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> --- drivers/iio/accel/st_accel_spi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c index 29a15f27a51b..1a867f5563a4 100644 --- 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 }, -- 2.12.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table 2017-06-06 20:51 ` [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table Lorenzo Bianconi @ 2017-06-11 13:49 ` Jonathan Cameron 0 siblings, 0 replies; 5+ messages in thread From: Jonathan Cameron @ 2017-06-11 13:49 UTC (permalink / raw) To: Lorenzo Bianconi; +Cc: linux-iio, lorenzo.bianconi, denis.ciocca On Tue, 6 Jun 2017 22:51:23 +0200 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote: > 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> Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > drivers/iio/accel/st_accel_spi.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c > index 29a15f27a51b..1a867f5563a4 100644 > --- 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 }, ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] iio: magnetometer: st_magn_spi: fix spi_device_id table 2017-06-06 20:51 [PATCH 0/2] Remove LSM303DL series from acc-magn spi_device_id tables Lorenzo Bianconi 2017-06-06 20:51 ` [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table Lorenzo Bianconi @ 2017-06-06 20:51 ` Lorenzo Bianconi 2017-06-11 13:50 ` Jonathan Cameron 1 sibling, 1 reply; 5+ messages in thread From: Lorenzo Bianconi @ 2017-06-06 20:51 UTC (permalink / raw) To: jic23; +Cc: linux-iio, lorenzo.bianconi, denis.ciocca Remove LSM303DLHC, LSM303DLM from st_magn_id_table since LSM303DL series does not support spi interface Fixes: 872e79add756 (iio: magn: Add STMicroelectronics magn driver) Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com> --- drivers/iio/magnetometer/st_magn_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c index 6325e7dc8e03..f3cb4dc05391 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -48,8 +48,6 @@ static int st_magn_spi_remove(struct spi_device *spi) } static const struct spi_device_id st_magn_id_table[] = { - { LSM303DLHC_MAGN_DEV_NAME }, - { LSM303DLM_MAGN_DEV_NAME }, { LIS3MDL_MAGN_DEV_NAME }, { LSM303AGR_MAGN_DEV_NAME }, {}, -- 2.12.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] iio: magnetometer: st_magn_spi: fix spi_device_id table 2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi @ 2017-06-11 13:50 ` Jonathan Cameron 0 siblings, 0 replies; 5+ messages in thread From: Jonathan Cameron @ 2017-06-11 13:50 UTC (permalink / raw) To: Lorenzo Bianconi; +Cc: linux-iio, lorenzo.bianconi, denis.ciocca On Tue, 6 Jun 2017 22:51:24 +0200 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote: > Remove LSM303DLHC, LSM303DLM from st_magn_id_table since LSM303DL series > does not support spi interface > > Fixes: 872e79add756 (iio: magn: Add STMicroelectronics magn driver) > Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com> Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. thanks, Jonathan > --- > drivers/iio/magnetometer/st_magn_spi.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c > index 6325e7dc8e03..f3cb4dc05391 100644 > --- a/drivers/iio/magnetometer/st_magn_spi.c > +++ b/drivers/iio/magnetometer/st_magn_spi.c > @@ -48,8 +48,6 @@ static int st_magn_spi_remove(struct spi_device *spi) > } > > static const struct spi_device_id st_magn_id_table[] = { > - { LSM303DLHC_MAGN_DEV_NAME }, > - { LSM303DLM_MAGN_DEV_NAME }, > { LIS3MDL_MAGN_DEV_NAME }, > { LSM303AGR_MAGN_DEV_NAME }, > {}, ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-06-11 13:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-06-06 20:51 [PATCH 0/2] Remove LSM303DL series from acc-magn spi_device_id tables Lorenzo Bianconi 2017-06-06 20:51 ` [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table Lorenzo Bianconi 2017-06-11 13:49 ` Jonathan Cameron 2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi 2017-06-11 13:50 ` Jonathan Cameron
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).