diff options
| author | Philipp Stanner <[email protected]> | 2024-06-13 13:50:22 +0200 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-07-10 04:20:17 +0000 |
| commit | 2c3e842f125fc1c57cd2824840d04e401c0542c2 (patch) | |
| tree | 0f3bf091e8a8b6480bc3a02a5900f724861355a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 1b9469cf15976a7cb7378caaa8a1772e7901514d (diff) | |
PCI: Give pcim_set_mwi() its own devres cleanup callback
Managing pci_set_mwi() with devres can easily be done with its own
callback, without the necessity to store any state about it in a
device-related struct.
Remove the MWI state from struct pci_devres. Give pcim_set_mwi() a
separate devres cleanup callback.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions