drm/i915: Re-order if/else ladder in intel_detect_pch()
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 19 Sep 2023 19:21:11 +0000 (12:21 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Sep 2023 14:39:48 +0000 (07:39 -0700)
commit8dde2e68a55533a047423b7ac378c637eab468ef
tree943b12f26517b652f8d01b5fbcdd108acaf97561
parent212cf016d974d351c252d760a9d42d02b3954830
drm/i915: Re-order if/else ladder in intel_detect_pch()

Follow the convention of checking the last platform first and reword the
comment to convey there are more platforms than just DG1.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919192128.2045154-5-lucas.demarchi@intel.com
drivers/gpu/drm/i915/soc/intel_pch.c