drm/i915/bios: merge parse_device_mapping() into parse_general_definitions()
authorJani Nikula <jani.nikula@intel.com>
Thu, 28 Sep 2017 08:22:02 +0000 (11:22 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 10 Oct 2017 06:06:10 +0000 (09:06 +0300)
commitb3ca1f43b285dd74daa8ef87cce41bc50434a865
tree2e2ef3e1f4adb64c96123fa51464b390b831de25
parent53f6b2436e7ba3d5f9b3b6b2d2b42089d64690e8
drm/i915/bios: merge parse_device_mapping() into parse_general_definitions()

They're both parsing the same block, and there's no need for them to be
split. The former also benefits from the range checks in the latter.

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