diff options
author | Philipp Stanner <pstanner@redhat.com> | 2024-06-13 14:50:22 +0300 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-07-10 07:20:17 +0300 |
commit | 2c3e842f125fc1c57cd2824840d04e401c0542c2 (patch) | |
tree | 0f3bf091e8a8b6480bc3a02a5900f724861355a4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1b9469cf15976a7cb7378caaa8a1772e7901514d (diff) | |
download | linux-2c3e842f125fc1c57cd2824840d04e401c0542c2.tar.xz |
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/20240613115032.29098-10-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions