]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move final cleanup of drm_i915_private to i915_driver_destroy
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 5 Sep 2018 14:09:21 +0000 (15:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 5 Sep 2018 19:58:35 +0000 (20:58 +0100)
commit8098038eb0b1fa4d408ff6819221966e73e119d5
tree02939a75a623d5a417c693576279805c86b2e5db
parentc967a9c222e6cb3392cad0e91f3bf96f96b84e11
drm/i915: Move final cleanup of drm_i915_private to i915_driver_destroy

Introduce a complementary function to i915_driver_create() to undo all
that is created.

Suggested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180905140921.17467-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c