]> git.baikalelectronics.ru Git - kernel.git/commit
drm: zte: use crtc helper drm_crtc_from_index()
authorShawn Guo <shawn.guo@linaro.org>
Thu, 29 Dec 2016 12:41:29 +0000 (20:41 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 11:15:01 +0000 (12:15 +0100)
commitac620ba3d09bc96eca203658ad2e145adf911ac3
treea9d729013cb87aaadf6000f23d38e9c0133aaaf4
parent6d1b81d8e25d81b4ed4363fa3e7d70aa563b7112
drm: zte: use crtc helper drm_crtc_from_index()

Function zx_find_crtc() 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-3-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/zte/zx_vou.c