commit | ac620ba3d09bc96eca203658ad2e145adf911ac3 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Thu Dec 29 20:41:29 2016 +0800 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Dec 30 12:15:01 2016 +0100 |
tree | a9d729013cb87aaadf6000f23d38e9c0133aaaf4 | |
parent | 6d1b81d8e25d81b4ed4363fa3e7d70aa563b7112 [diff] |
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