Re: [PATCH] iio: Fix documentation of devm_iio_device_free()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/29/13 22:35, Peter Meerwald wrote:
> Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx>
> Cc: Grygorii Strashko <grygorii.strashko@xxxxxx>
> Cc: Oleksandr Kravchenko <o.v.kravchenko@xxxxxxxxxxxxxxx>
Indeed, this is downright confusing ;)

Applied to the togreg branch of iio.git

Thanks.
> ---
>  include/linux/iio/iio.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
> index f1d99f6..7ae54a5 100644
> --- a/include/linux/iio/iio.h
> +++ b/include/linux/iio/iio.h
> @@ -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
> 
--
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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux