drm: nouveau: use crtc helper drm_crtc_from_index()
Use drm_crtc_from_index() to find drm_crtc for given index. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Cc: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: NSean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1483961145-18453-5-git-send-email-shawnguo@kernel.org
Showing
想要评论请 注册 或 登录