]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up some expressions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Jun 2017 13:03:09 +0000 (16:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Jun 2017 16:08:35 +0000 (19:08 +0300)
commitb9e60140d7e3d597f907f666208082f2a9e16df3
treee6fdde82927e2f6abc46a79ab1d76687e14e145c
parent0f2f1ad0e33fbe9dca8d43b3dfff974a269ef322
drm/i915: Clean up some expressions

Write the '!(SNB||IVB)' checks in the CPT/PPT detections
as '!SNB && !IVB' to make it less messy looking, and clear out
some useless parens the from the virtualization PCH detection case.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620130310.13245-5-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.c