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 2/2] iio: magnetometer: st_magn_spi: fix spi_device_id table
Date: Sun, 11 Jun 2017 14:50:27 +0100	[thread overview]
Message-ID: <20170611145027.06315770@kernel.org> (raw)
In-Reply-To: <20170606205124.14905-3-lorenzo.bianconi@st.com>

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


      reply	other threads:[~2017-06-11 13:50 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
2017-06-06 20:51 ` [PATCH 2/2] iio: magnetometer: st_magn_spi: " Lorenzo Bianconi
2017-06-11 13:50   ` Jonathan Cameron [this message]

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=20170611145027.06315770@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).