Commit ae639830 authored by Roland Stigge's avatar Roland Stigge Committed by Greg Kroah-Hartman

Staging: iio: ad7476_core.c: Fixed i2c -> spi documentation typo

ad7476_core.c: Fixed i2c -> spi documentation typo

Minor documentation fix in comment
Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 826514b4
...@@ -190,7 +190,7 @@ static int __devinit ad7476_probe(struct spi_device *spi) ...@@ -190,7 +190,7 @@ static int __devinit ad7476_probe(struct spi_device *spi)
goto error_disable_reg; goto error_disable_reg;
} }
/* Estabilish that the iio_dev is a child of the i2c device */ /* Establish that the iio_dev is a child of the spi device */
st->indio_dev->dev.parent = &spi->dev; st->indio_dev->dev.parent = &spi->dev;
st->indio_dev->attrs = &ad7476_attribute_group; st->indio_dev->attrs = &ad7476_attribute_group;
st->indio_dev->dev_data = (void *)(st); st->indio_dev->dev_data = (void *)(st);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment