mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: ccs: Fix driver quirk struct documentation
[ Upstream commit 441b5c63d71ec9ec5453328f7e83384ecc1dddd9 ] 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@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b8dcbbd0c4
commit
65335aef1a
@@ -32,12 +32,10 @@ struct ccs_sensor;
|
|||||||
* @reg: Pointer to the register to access
|
* @reg: Pointer to the register to access
|
||||||
* @value: Register value, set by the caller on write, or
|
* @value: Register value, set by the caller on write, or
|
||||||
* by the quirk on read
|
* by the quirk on read
|
||||||
*
|
|
||||||
* @flags: Quirk flags
|
|
||||||
*
|
|
||||||
* @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
|
* access may be done by the caller (default read
|
||||||
* value is zero), else negative error code on error
|
* value is zero), else negative error code on error
|
||||||
|
* @flags: Quirk flags
|
||||||
*/
|
*/
|
||||||
struct ccs_quirk {
|
struct ccs_quirk {
|
||||||
int (*limits)(struct ccs_sensor *sensor);
|
int (*limits)(struct ccs_sensor *sensor);
|
||||||
|
|||||||
Reference in New Issue
Block a user