]> git.baikalelectronics.ru Git - kernel.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)
commit1a2934fc3c6c8d0d0ed26592c6b0c15be11b83d9
treef124edb85c375279a41e87bd9ea415e3cc25b60a
parentc109a6a110ff0116a03ccbda227bdf7754cc69d8
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