]> git.karo-electronics.de Git - linux-beck.git/commit
drm: rockchip: use crtc helper drm_crtc_from_index()
authorShawn Guo <shawn.guo@linaro.org>
Thu, 29 Dec 2016 12:41:30 +0000 (20:41 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 11:15:11 +0000 (12:15 +0100)
commit48df6336d770a5a1fcc83bef9f1d541600983b5f
treef124edb85c375279a41e87bd9ea415e3cc25b60a
parentac620ba3d09bc96eca203658ad2e145adf911ac3
drm: rockchip: use crtc helper drm_crtc_from_index()

Function rockchip_crtc_from_pipe() does the exactly same thing as what
crtc helper drm_crtc_from_index() provides.  Use the helper to save
some code.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483015290-16660-4-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/rockchip/rockchip_drm_drv.c