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: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vaibhav Gupta 2020-07-28 09:58:10 +05:30 committed by David S. Miller
parent 5e619d73e6
commit f21bbd6330

View file

@ -2640,8 +2640,6 @@ static struct pci_driver fst_driver = {
.id_table = fst_pci_dev_id,
.probe = fst_add_one,
.remove = fst_remove_one,
.suspend = NULL,
.resume = NULL,
};
static int __init