Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Fix comment making reference to non-existing function

Documentation for drm_atomic_crtc_for_each_plane() makes reference to
a function called drm_crtc_for_each_pending_plane(). I've guessed that
the actual function name is drm_atomic_crtc_state_for_each_plane() as
that matches best the intent of the comment.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465571005-3877-1-git-send-email-Liviu.Dudau@arm.com

authored by

Liviu Dudau and committed by
Daniel Vetter
5c0be3f1 fe64ba5c

+1 -1
+1 -1
include/drm/drm_atomic_helper.h
··· 167 167 * This iterates over the current state, useful (for example) when applying 168 168 * atomic state after it has been checked and swapped. To iterate over the 169 169 * planes which *will* be attached (for ->atomic_check()) see 170 - * drm_crtc_for_each_pending_plane(). 170 + * drm_atomic_crtc_state_for_each_plane(). 171 171 */ 172 172 #define drm_atomic_crtc_for_each_plane(plane, crtc) \ 173 173 drm_for_each_plane_mask(plane, (crtc)->dev, (crtc)->state->plane_mask)