]> 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)
commit473e7a5dbc108201bce693b9dc0922a79ef1707f
tree875bef892a625a5d45ed819eb0c632eddc070183
parent76718fd21cfb74dfeeab2c6b9a8f0bfba0bb0a57
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