drm/i915: Propagate "_remove" function name suffix down
Similar to the "_release" case, consistently replace mixed "_cleanup"/"_fini"/"_fini_hw" components found in names of functions called from i915_driver_remove() with "_remove" or "_driver_remove" suffixes for better code readability. Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190712112429.740-6-janusz.krzysztofik@linux.intel.com
This commit is contained in:

committed by
Chris Wilson

orang tua
3b58a94551
melakukan
78dae1ac35
@@ -122,13 +122,14 @@ bail:
|
||||
}
|
||||
|
||||
/**
|
||||
* intel_gvt_cleanup - cleanup GVT components when i915 driver is unloading
|
||||
* intel_gvt_driver_remove - cleanup GVT components when i915 driver is
|
||||
* unbinding
|
||||
* @dev_priv: drm i915 private *
|
||||
*
|
||||
* This function is called at the i915 driver unloading stage, to shutdown
|
||||
* GVT components and release the related resources.
|
||||
*/
|
||||
void intel_gvt_cleanup(struct drm_i915_private *dev_priv)
|
||||
void intel_gvt_driver_remove(struct drm_i915_private *dev_priv)
|
||||
{
|
||||
if (!intel_gvt_active(dev_priv))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user