mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
drm/i915: Call i915_globals_exit() after i915_pmu_exit()
We should tear down in the opposite order we set up. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210721152358.2893314-2-jason@jlekstrand.net
This commit is contained in:
committed by
Daniel Vetter
parent
4f62a7e0d3
commit
75d3bf84df
@@ -1209,8 +1209,8 @@ static void __exit i915_exit(void)
|
||||
|
||||
i915_perf_sysctl_unregister();
|
||||
pci_unregister_driver(&i915_pci_driver);
|
||||
i915_globals_exit();
|
||||
i915_pmu_exit();
|
||||
i915_globals_exit();
|
||||
}
|
||||
|
||||
module_init(i915_init);
|
||||
|
||||
Reference in New Issue
Block a user