Commit 5e851c9d authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi Committed by Daniel Vetter

drm: trivial documentation fix to drm_for_each_connector_iter

While reading drm_for_each_connector_iter, I noticed a mention to
drm_connector_begin which doesn't exist. It should be
drm_connector_get.
Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170421003819.17685-1-krisman@collabora.co.uk
parent 4759f2d4
...@@ -1052,7 +1052,7 @@ void drm_connector_list_iter_end(struct drm_connector_list_iter *iter); ...@@ -1052,7 +1052,7 @@ void drm_connector_list_iter_end(struct drm_connector_list_iter *iter);
* *
* Note that @connector is only valid within the list body, if you want to use * Note that @connector is only valid within the list body, if you want to use
* @connector after calling drm_connector_list_iter_end() then you need to grab * @connector after calling drm_connector_list_iter_end() then you need to grab
* your own reference first using drm_connector_begin(). * your own reference first using drm_connector_get().
*/ */
#define drm_for_each_connector_iter(connector, iter) \ #define drm_for_each_connector_iter(connector, iter) \
while ((connector = drm_connector_list_iter_next(iter))) while ((connector = drm_connector_list_iter_next(iter)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment