Skip to content

Commit e146a09

Browse files
bjorn-helgaashdeller
authored andcommitted
video: fbdev: cirrusfb: Remove useless reference to PCI power management
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 <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent d36a869 commit e146a09

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/video/fbdev/cirrusfb.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,12 +2184,6 @@ static struct pci_driver cirrusfb_pci_driver = {
21842184
.id_table = cirrusfb_pci_table,
21852185
.probe = cirrusfb_pci_register,
21862186
.remove = cirrusfb_pci_unregister,
2187-
#ifdef CONFIG_PM
2188-
#if 0
2189-
.suspend = cirrusfb_pci_suspend,
2190-
.resume = cirrusfb_pci_resume,
2191-
#endif
2192-
#endif
21932187
};
21942188
#endif /* CONFIG_PCI */
21952189

0 commit comments

Comments
 (0)