Re: [PATCH 1/2] iio: mma8452: add i2c_device_id for mma8451

From: Jonathan Cameron
Date: Tue Mar 15 2016 - 18:05:54 EST


On 14/03/16 11:33, Martin Kepplinger wrote:
> This was forgotten about and is added for consistency now
>
> Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
> ---
> I'm sorry, I messed up the first patch. Understandable though, given
> it's complexity.
Took me a disturbingly long time to notice what was wrong.

Applied to the togreg branch of iio.git - pushed out as testing
for the autobuilders to play with it.

Jonathan
>
>
> drivers/iio/accel/mma8452.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index 305ed0e..6aa2517 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -1535,6 +1535,7 @@ static const struct dev_pm_ops mma8452_pm_ops = {
> };
>
> static const struct i2c_device_id mma8452_id[] = {
> + { "mma8451", mma8451 },
> { "mma8452", mma8452 },
> { "mma8453", mma8453 },
> { "mma8652", mma8652 },
>