iio: Fix documentation of devm_iio_device_free()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Peter Meerwald 2013-07-29 22:35:00 +01:00 committed by Jonathan Cameron
parent b6ff86f3f5
commit 9bc541028b

View File

@ -552,9 +552,9 @@ struct iio_dev *devm_iio_device_alloc(struct device *dev, int sizeof_priv);
* @dev: Device this iio_dev belongs to
* @indio_dev: the iio_dev associated with the device
*
* Free indio_dev allocated with devm_iio_device_alloc().
* Free iio_dev allocated with devm_iio_device_alloc().
*/
void devm_iio_device_free(struct device *dev, struct iio_dev *iio_dev);
void devm_iio_device_free(struct device *dev, struct iio_dev *indio_dev);
/**
* iio_buffer_enabled() - helper function to test if the buffer is enabled