提交 f21bbd63 编写于 作者: V Vaibhav Gupta 提交者: David S. Miller

farsync: use generic power management

The .suspend() and .resume() callbacks are not defined for this driver.
Still, their power management structure follows the legacy framework. To
bring it under the generic framework, simply remove the binding of
callbacks from "struct pci_driver".

Change code indentation from space to tab in "struct pci_driver".
Signed-off-by: NVaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5e619d73
...@@ -2636,12 +2636,10 @@ fst_remove_one(struct pci_dev *pdev) ...@@ -2636,12 +2636,10 @@ fst_remove_one(struct pci_dev *pdev)
} }
static struct pci_driver fst_driver = { static struct pci_driver fst_driver = {
.name = FST_NAME, .name = FST_NAME,
.id_table = fst_pci_dev_id, .id_table = fst_pci_dev_id,
.probe = fst_add_one, .probe = fst_add_one,
.remove = fst_remove_one, .remove = fst_remove_one,
.suspend = NULL,
.resume = NULL,
}; };
static int __init static int __init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册