PCI: remove useless pci driver method
Remove pointless and never-called enable_wake() hook from pci_driver and from documentation. Evidently this was introduced in the 2.4.6 kernel, but there's no evidence it was ever called; and it was rarely implemented. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
e57571a07d
commit
56906c612e
@@ -453,8 +453,6 @@ static struct pci_driver prism2_pci_drv_id = {
|
||||
.suspend = prism2_pci_suspend,
|
||||
.resume = prism2_pci_resume,
|
||||
#endif /* CONFIG_PM */
|
||||
/* Linux 2.4.6 added save_state and enable_wake that are not used here
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
|
@@ -613,9 +613,6 @@ static struct pci_driver prism2_plx_drv_id = {
|
||||
.id_table = prism2_plx_id_table,
|
||||
.probe = prism2_plx_probe,
|
||||
.remove = prism2_plx_remove,
|
||||
.suspend = NULL,
|
||||
.resume = NULL,
|
||||
.enable_wake = NULL
|
||||
};
|
||||
|
||||
|
||||
|
@@ -87,7 +87,6 @@ static struct pci_driver prism54_driver = {
|
||||
.remove = prism54_remove,
|
||||
.suspend = prism54_suspend,
|
||||
.resume = prism54_resume,
|
||||
/* .enable_wake ; we don't support this yet */
|
||||
};
|
||||
|
||||
/******************************************************************************
|
||||
|
Reference in New Issue
Block a user