diff options
| author | Philipp Stanner <pstanner@redhat.com> | 2024-12-09 14:06:33 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-27 04:30:15 -0800 |
| commit | ed020100b62cc583accbd8c664eadb3f67f58555 (patch) | |
| tree | dbd26df1249a63aedef52fddb79552527170b22c /scripts | |
| parent | 969c54c82d8c80f1d25a88bc4de4afa28d124075 (diff) | |
| download | linux-ed020100b62cc583accbd8c664eadb3f67f58555.tar.gz linux-ed020100b62cc583accbd8c664eadb3f67f58555.tar.bz2 linux-ed020100b62cc583accbd8c664eadb3f67f58555.zip | |
PCI: Remove devres from pci_intx()
[ Upstream commit dfa2f4d5f9e5d757700cefa8ee480099889f1c69 ]
pci_intx() is a hybrid function which can sometimes be managed through
devres. This hybrid nature is undesirable.
Since all users of pci_intx() have by now been ported either to
always-managed pcim_intx() or never-managed pci_intx_unmanaged(), the
devres functionality can be removed from pci_intx().
Consequently, pci_intx_unmanaged() is now redundant, because pci_intx()
itself is now unmanaged.
Remove the devres functionality from pci_intx(). Have all users of
pci_intx_unmanaged() call pci_intx(). Remove pci_intx_unmanaged().
Link: https://lore.kernel.org/r/20241209130632.132074-13-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Stable-dep-of: d555ed45a5a1 ("PCI: Restore original INTX_DISABLE bit by pcim_intx()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
