diff mbox series

m5mols/m5mols.h: document new reset field

Message ID ab8dc7f1-683c-618c-5b03-2615d06808ae@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series m5mols/m5mols.h: document new reset field | expand

Commit Message

Hans Verkuil March 8, 2022, 8:42 a.m. UTC
The new reset field in struct m5mols_info was not documented,
add this.

This fixes a kerneldoc warning:

drivers/media/i2c/m5mols/m5mols.h:244: warning: Function parameter or member 'reset' not described in 'm5mols_info'

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: aaaf357fa61c (media: m5mols: Convert to use GPIO descriptors)
---

Comments

Linus Walleij March 9, 2022, 11:39 p.m. UTC | #1
On Tue, Mar 8, 2022 at 9:42 AM Hans Verkuil <hverkuil@xs4all.nl> wrote:

> The new reset field in struct m5mols_info was not documented,
> add this.
>
> This fixes a kerneldoc warning:
>
> drivers/media/i2c/m5mols/m5mols.h:244: warning: Function parameter or member 'reset' not described in 'm5mols_info'
>
> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> Fixes: aaaf357fa61c (media: m5mols: Convert to use GPIO descriptors)

Sorry for missing this!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/media/i2c/m5mols/m5mols.h b/drivers/media/i2c/m5mols/m5mols.h
index b56eb0a8ee97..d8545d2280af 100644
--- a/drivers/media/i2c/m5mols/m5mols.h
+++ b/drivers/media/i2c/m5mols/m5mols.h
@@ -182,6 +182,7 @@  struct m5mols_version {
  * @stabilization: image stabilization control
  * @jpeg_quality: JPEG compression quality control
  * @set_power: optional power callback to the board code
+ * @reset: GPIO driving the reset pin of M-5MOLS
  * @lock: mutex protecting the structure fields below
  * @ffmt: current fmt according to resolution type
  * @res_type: current resolution type