media: i2c: css-quirk.h: Fix kerneldoc
authorRicardo Ribalda <ribalda@chromium.org>
Fri, 26 Jan 2024 23:16:05 +0000 (23:16 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 5 Feb 2024 11:57:45 +0000 (12:57 +0100)
Kerneldoc does not seem to understand that embed doc:
drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'write' description in 'ccs_quirk'
drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'reg' description in 'ccs_quirk'
drivers/media/i2c/ccs/ccs-quirk.h:50: warning: Excess struct member 'val' description in 'ccs_quirk'

Convert into a standard doc.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ccs/ccs-quirk.h

index 0b1a64958d714ed783e60b6fadbcae6a716deaa9..392c97109617700fb7e1f8bfa950c3a8cd5d90bb 100644 (file)
@@ -28,11 +28,11 @@ struct ccs_sensor;
  * @reg_access: Register access quirk. The quirk may divert the access
  *             to another register, or no register at all.
  *
- *             @write: Is this read (false) or write (true) access?
- *             @reg: Pointer to the register to access
- *             @value: Register value, set by the caller on write, or
+ *             -write: Is this read (false) or write (true) access?
+ *             -reg:   Pointer to the register to access
+ *             -val:   Register value, set by the caller on write, or
  *                     by the quirk on read
- *             @return: 0 on success, -ENOIOCTLCMD if no register
+ *             -return: 0 on success, -ENOIOCTLCMD if no register
  *                      access may be done by the caller (default read
  *                      value is zero), else negative error code on error
  * @flags: Quirk flags