Re: [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue,  6 Jun 2017 22:51:23 +0200
Lorenzo Bianconi <lorenzo.bianconi83@xxxxxxxxx> 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@xxxxxx>
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 },

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux