Re: [PATCH 2/2] iio: magnetometer: st_magn_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:24 +0200
Lorenzo Bianconi <lorenzo.bianconi83@xxxxxxxxx> 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@xxxxxx>
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 },
>  	{},

--
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