Re: [PATCH 2/7] media: ccs: Fix driver quirk struct documentation

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

 



Hi Sakari,

Thank you for the patch.

On Fri, Sep 15, 2023 at 10:28:04AM +0300, Sakari Ailus wrote:
> Fix documentation for struct ccs_quirk, a device specific struct for
> managing deviations from the standard. The flags field was drifted away
> from where it should have been.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

> ---
>  drivers/media/i2c/ccs/ccs-quirk.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/media/i2c/ccs/ccs-quirk.h b/drivers/media/i2c/ccs/ccs-quirk.h
> index 5838fcda92fd..0b1a64958d71 100644
> --- a/drivers/media/i2c/ccs/ccs-quirk.h
> +++ b/drivers/media/i2c/ccs/ccs-quirk.h
> @@ -32,12 +32,10 @@ struct ccs_sensor;
>   *		@reg: Pointer to the register to access
>   *		@value: Register value, set by the caller on write, or
>   *			by the quirk on read
> - *
> - * @flags: Quirk flags
> - *
>   *		@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
>   */
>  struct ccs_quirk {
>  	int (*limits)(struct ccs_sensor *sensor);

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux