summaryrefslogtreecommitdiff
path: root/drivers/pci/remove.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-09-19 14:25:26 -0500
committerBjorn Helgaas <bhelgaas@google.com>2024-09-19 14:25:26 -0500
commit9d4f1c0747e2937c830d135a460d727002caed3d (patch)
treed7b5634e79a228a73b7c3356c215943310683282 /drivers/pci/remove.c
parente642aa6b38762a2af3a7e0c5e6dac5841c15dea0 (diff)
parent759ec28242894f2006a1606c1d6e9aca48cecfcf (diff)
downloadlinux-9d4f1c0747e2937c830d135a460d727002caed3d.tar.gz
linux-9d4f1c0747e2937c830d135a460d727002caed3d.tar.bz2
linux-9d4f1c0747e2937c830d135a460d727002caed3d.zip
Merge branch 'pci/npem'
- Initialize leds class earlier (with an unfortunate Makefile ordering change) so the PCI NPEM driver can use it (Mariusz Tkaczyk) - Add Native PCIe Enclosure Management (NPEM) support for sysfs control of NVMe RAID storage indicators (ok/fail/locate/rebuild/etc) (Mariusz Tkaczyk) - Add support for the ACPI _DSM PCIe SSD status LED management, which is functionally similar to NPEM but mediated by platform firmware (Mariusz Tkaczyk) * pci/npem: PCI/NPEM: Add _DSM PCIe SSD status LED management PCI/NPEM: Add Native PCIe Enclosure Management support leds: Init leds class earlier
Diffstat (limited to 'drivers/pci/remove.c')
-rw-r--r--drivers/pci/remove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/remove.c b/drivers/pci/remove.c
index 910387e5bdbf..da9629c3a688 100644
--- a/drivers/pci/remove.c
+++ b/drivers/pci/remove.c
@@ -34,6 +34,8 @@ static void pci_destroy_dev(struct pci_dev *dev)
if (!dev->dev.kobj.parent)
return;
+ pci_npem_remove(dev);
+
device_del(&dev->dev);
down_write(&pci_bus_sem);