drm/i915: use platform enum instead of duplicating PCI ID if possible
authorJani Nikula <jani.nikula@intel.com>
Wed, 30 Nov 2016 15:43:06 +0000 (17:43 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2016 13:20:43 +0000 (15:20 +0200)
commit06bcd84873da324a69505cb489f61da2832d87cb
treed2096f285801d72996429f6731c5bcf277adf72f
parentf69c11aeb872e51bf3900a6c0c8397f9ddb9f5bc
drm/i915: use platform enum instead of duplicating PCI ID if possible

Duplicating the PCI ID for IS_FOO checks is redundant for a bunch of
platforms. Simplify.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/4f79321aca2e003a627ba8b6809af3716b7c25c9.1480520526.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h