linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: linux-iio@vger.kernel.org, lorenzo.bianconi@st.com, denis.ciocca@st.com
Subject: Re: [PATCH 1/2] iio: accel: st_accel_spi: fix spi_device_id table
Date: Sun, 11 Jun 2017 14:49:26 +0100	[thread overview]
Message-ID: <20170611144926.5f6a49c1@kernel.org> (raw)
In-Reply-To: <20170606205124.14905-2-lorenzo.bianconi@st.com>

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


  reply	other threads:[~2017-06-11 13:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi
2017-06-11 13:50   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170611144926.5f6a49c1@kernel.org \
    --to=jic23@kernel.org \
    --cc=denis.ciocca@st.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=lorenzo.bianconi83@gmail.com \
    --cc=lorenzo.bianconi@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).