linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: Fix documentation of devm_iio_device_free()
@ 2013-07-29 21:35 Peter Meerwald
  2013-08-03 21:22 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Meerwald @ 2013-07-29 21:35 UTC (permalink / raw)
  To: linux-iio; +Cc: Peter Meerwald, Grygorii Strashko, Oleksandr Kravchenko

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
---
 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
-- 
1.8.3.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: Fix documentation of devm_iio_device_free()
  2013-07-29 21:35 [PATCH] iio: Fix documentation of devm_iio_device_free() Peter Meerwald
@ 2013-08-03 21:22 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2013-08-03 21:22 UTC (permalink / raw)
  To: Peter Meerwald; +Cc: linux-iio, Grygorii Strashko, Oleksandr Kravchenko

On 07/29/13 22:35, Peter Meerwald wrote:
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
> Cc: Grygorii Strashko <grygorii.strashko@ti.com>
> Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-03 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 21:35 [PATCH] iio: Fix documentation of devm_iio_device_free() Peter Meerwald
2013-08-03 21:22 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).