[PATCH 2/2] drm/atomic: Fix typo in kerneldoc

Thierry Reding thierry.reding at gmail.com
Fri Sep 1 14:40:42 UTC 2017


From: Thierry Reding <treding at nvidia.com>

The for_each_crtc_in_state() is used to iterate over CRTCs rather than
connectors.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 include/drm/drm_atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 8a5808eb5628..f73b663c1f76 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -643,7 +643,7 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p);
 		for_each_if (connector)
 
 /**
- * for_each_crtc_in_state - iterate over all connectors in an atomic update
+ * for_each_crtc_in_state - iterate over all CRTCs in an atomic update
  * @__state: &struct drm_atomic_state pointer
  * @crtc: &struct drm_crtc iteration cursor
  * @crtc_state: &struct drm_crtc_state iteration cursor
-- 
2.13.3



More information about the dri-devel mailing list