video: fbdev: cirrusfb: Remove useless reference to PCI power management
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Jun 2022 23:11:11 +0000 (18:11 -0500)
committerHelge Deller <deller@gmx.de>
Mon, 20 Jun 2022 12:38:27 +0000 (14:38 +0200)
PCI-specific power management (pci_driver.suspend and pci_driver.resume) is
deprecated.  The cirrusfb driver has never implemented power management at
all, but if it ever does, it should use the generic power management
framework, not the PCI-specific hooks.

Remove the commented-out references to the PCI-specific power management
hooks.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/cirrusfb.c

index 3d47c347b89705f485578ac33bb0a1f207c67116..51e072c03e1c670bfa7b65f7bf7e70c968a97c03 100644 (file)
@@ -2184,12 +2184,6 @@ static struct pci_driver cirrusfb_pci_driver = {
        .id_table       = cirrusfb_pci_table,
        .probe          = cirrusfb_pci_register,
        .remove         = cirrusfb_pci_unregister,
-#ifdef CONFIG_PM
-#if 0
-       .suspend        = cirrusfb_pci_suspend,
-       .resume         = cirrusfb_pci_resume,
-#endif
-#endif
 };
 #endif /* CONFIG_PCI */