OSDN Git Service

drm/msm/dsi: replace version checks with helper functions
authorSibi Sankar <sibis@codeaurora.org>
Tue, 29 May 2018 14:20:33 +0000 (19:50 +0530)
committerRob Clark <robdclark@gmail.com>
Wed, 25 Jul 2018 11:51:05 +0000 (07:51 -0400)
commit8f7ca5409063ade228a8ea0cc77b5fe9877f8cf0
tree71e2b6aa54f4083b3e6cc26bbd15ac8461ed0aee
parentc4d8cfe516dc54bac8837bc90ccbd878ad26c59e
drm/msm/dsi: replace version checks with helper functions

Replace version checks with the helper functions bound to
cfg_handler for DSI v2, DSI 6G 1.x and DSI 6G v2.0+ controllers

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c