drm/i915/uc: Add intel_uc_fw_fini()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 Mar 2017 11:21:13 +0000 (11:21 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 31 Mar 2017 07:39:39 +0000 (10:39 +0300)
commit00bbb72c8619a9196db8acabc720e1d5efd7ce18
tree4942895cb8a757d3c1e54def4c1f35c2d40f4078
parent5e065f1f49a352376f1004cc107712ee9231fee7
drm/i915/uc: Add intel_uc_fw_fini()

Cleanups of uc firmware structs from GuC and Huc are the same for both.
Move common code to the helper function to avoid duplication.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_uc.c