George McCollister schrieb am 31.10.2014 16:44: > Signed-off-by: George McCollister <george.mccollister@xxxxxxxxx> Acked-by: Hartmut Knaack <knaack.h@xxxxxx> > --- > drivers/iio/proximity/as3935.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c > index 5e780ef..8349cc0 100644 > --- a/drivers/iio/proximity/as3935.c > +++ b/drivers/iio/proximity/as3935.c > @@ -330,7 +330,7 @@ static int as3935_probe(struct spi_device *spi) > return -EINVAL; > } > > - indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(st)); > + indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); > if (!indio_dev) > return -ENOMEM; > > -- 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