Quoting Daniel Vetter (2020-02-21 21:02:30)
For two reasons:
- The driver core clears this already for us after we're unloaded in __device_release_driver().
Even if we abort before loading?
History notes that i915_pci_remove was called with a stale pointer on error. -Chris