mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
drm/colorop: Fix typos in the doc
In the documentation of drm_colorop introduced by commitcfc27680ee("drm/colorop: Introduce new drm_colorop mode object"), the documentation of __drm_colorop_state_reset() and __drm_colorop_reset() were mentioning CRTC when they really meant colorop, probably due to copy and paste. Fixes:cfc27680ee("drm/colorop: Introduce new drm_colorop mode object") Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://patch.msgid.link/20260526-drm-mode-config-init-v6-2-852346394200@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
parent
2b0fb8a0aa
commit
8cd7d745fa
|
|
@ -505,7 +505,7 @@ void drm_colorop_atomic_destroy_state(struct drm_colorop *colorop,
|
|||
* @colorop: colorop object, must not be NULL
|
||||
*
|
||||
* Initializes the newly allocated @colorop_state with default
|
||||
* values. This is useful for drivers that subclass the CRTC state.
|
||||
* values. This is useful for drivers that subclass the colorop state.
|
||||
*/
|
||||
static void __drm_colorop_state_reset(struct drm_colorop_state *colorop_state,
|
||||
struct drm_colorop *colorop)
|
||||
|
|
@ -528,10 +528,10 @@ static void __drm_colorop_state_reset(struct drm_colorop_state *colorop_state,
|
|||
* @colorop: drm colorop
|
||||
* @colorop_state: colorop state to assign
|
||||
*
|
||||
* Initializes the newly allocated @colorop_state and assigns it to
|
||||
* the &drm_crtc->state pointer of @colorop, usually required when
|
||||
* initializing the drivers or when called from the &drm_colorop_funcs.reset
|
||||
* hook.
|
||||
* Initializes the newly allocated @colorop_state and assigns it to the
|
||||
* &drm_colorop->state pointer of @colorop, usually required when
|
||||
* initializing the drivers or when called from the
|
||||
* &drm_colorop_funcs.reset hook.
|
||||
*
|
||||
* This is useful for drivers that subclass the colorop state.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user