Skip to content

Commit

Permalink
Staging: iio: ad7476_core.c: Fixed i2c -> spi documentation typo
Browse files Browse the repository at this point in the history
ad7476_core.c: Fixed i2c -> spi documentation typo

Minor documentation fix in comment

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Roland Stigge authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent 826514b commit ae63983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/adc/ad7476_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static int __devinit ad7476_probe(struct spi_device *spi)
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->attrs = &ad7476_attribute_group;
st->indio_dev->dev_data = (void *)(st);
Expand Down

0 comments on commit ae63983

Please sign in to comment.