drm/i915/bios: abstract child device size check
authorJani Nikula <jani.nikula@intel.com>
Mon, 26 Feb 2024 17:58:53 +0000 (19:58 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Feb 2024 13:26:39 +0000 (15:26 +0200)
commite396a06eb90a2efcb26321e45bfbf7fc5fe44cfd
tree9248cbdcc045381febdb806b6e8fe6119e339bf8
parent5216ec0eeaee781ae74b79e91a270ea1873cabf5
drm/i915/bios: abstract child device size check

Separate the child device size check to a separate function for
clarity. No functional changes.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240226175854.287871-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c