diff mbox series

[1/8] iio: pressure: zpa2326: kernel-doc fixes

Message ID 20210314164655.408461-2-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series iio: kernel-doc fixups | expand

Commit Message

Jonathan Cameron March 14, 2021, 4:46 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Two comment blocks had wrong naming for function/structures that they
referred to.  Results in warnings when doing a W=1 build.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/pressure/zpa2326.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alexandru Ardelean March 15, 2021, 7:57 a.m. UTC | #1
On Sun, Mar 14, 2021 at 6:53 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Two comment blocks had wrong naming for function/structures that they
> referred to.  Results in warnings when doing a W=1 build.
>

Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>

> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
>  drivers/iio/pressure/zpa2326.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/pressure/zpa2326.c b/drivers/iio/pressure/zpa2326.c
> index 70adff62cd20..a93411216aee 100644
> --- a/drivers/iio/pressure/zpa2326.c
> +++ b/drivers/iio/pressure/zpa2326.c
> @@ -103,7 +103,7 @@ static const struct zpa2326_frequency *zpa2326_highest_frequency(void)
>  }
>
>  /**
> - * struct zpa_private - Per-device internal private state
> + * struct zpa2326_private - Per-device internal private state
>   * @timestamp:  Buffered samples ready datum.
>   * @regmap:     Underlying I2C / SPI bus adapter used to abstract slave register
>   *              accesses.
> @@ -1382,7 +1382,7 @@ static const struct iio_trigger_ops zpa2326_trigger_ops = {
>  };
>
>  /**
> - * zpa2326_init_trigger() - Create an interrupt driven / hardware trigger
> + * zpa2326_init_managed_trigger() - Create interrupt driven / hardware trigger
>   *                          allowing to notify external devices a new sample is
>   *                          ready.
>   * @parent:    Hardware sampling device @indio_dev is a child of.
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/drivers/iio/pressure/zpa2326.c b/drivers/iio/pressure/zpa2326.c
index 70adff62cd20..a93411216aee 100644
--- a/drivers/iio/pressure/zpa2326.c
+++ b/drivers/iio/pressure/zpa2326.c
@@ -103,7 +103,7 @@  static const struct zpa2326_frequency *zpa2326_highest_frequency(void)
 }
 
 /**
- * struct zpa_private - Per-device internal private state
+ * struct zpa2326_private - Per-device internal private state
  * @timestamp:  Buffered samples ready datum.
  * @regmap:     Underlying I2C / SPI bus adapter used to abstract slave register
  *              accesses.
@@ -1382,7 +1382,7 @@  static const struct iio_trigger_ops zpa2326_trigger_ops = {
 };
 
 /**
- * zpa2326_init_trigger() - Create an interrupt driven / hardware trigger
+ * zpa2326_init_managed_trigger() - Create interrupt driven / hardware trigger
  *                          allowing to notify external devices a new sample is
  *                          ready.
  * @parent:    Hardware sampling device @indio_dev is a child of.