]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: update some of the platform based checks
authorJani Nikula <jani.nikula@intel.com>
Thu, 5 Jul 2018 13:25:09 +0000 (16:25 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 6 Jul 2018 07:54:10 +0000 (10:54 +0300)
commit73b919fab41694292b053e907ed4f29e52cfecf6
tree875bef892a625a5d45ed819eb0c632eddc070183
parentfa51147f8807bc2b39e76469bb816753823a2719
drm/i915/dsi: update some of the platform based checks

Use the more customary order of latest platform first, and don't bother
with an if in the last branch.

Cc: Madhav Chauhan <madhav.chauhan@intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180705132509.12881-3-jani.nikula@intel.com
drivers/gpu/drm/i915/vlv_dsi.c