starfire: use generic power management
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Wed, 1 Jul 2020 16:50:49 +0000 (22:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 19:58:33 +0000 (12:58 -0700)
commita7c48c721109edf664555d47c67676ee362cde2f
tree041653e280e16f310a548e261d83caebb2a7dbb2
parent33b7a252c8dc66ad4abd01a50f23a0d59d95d06d
starfire: use generic power management

With legacy PM, drivers themselves were responsible for managing the
device's power states and takes care of register states.

After upgrading to the generic structure, PCI core will take care of
required tasks and drivers should do only device-specific operations.

Thus, there is no need to call the PCI helper functions like
pci_save/restore_sate() and pci_set_power_state().

Compile-tested only.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adaptec/starfire.c