summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/main.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-01 19:50:53 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-01 22:58:33 +0300
commite9a7f8c5865d877e96f19dc7e6c457e42d05c030 (patch)
treecac410cb200031b3b0cb96c8b66b8cbc7749410b /drivers/net/ethernet/mellanox/mlx4/main.c
parent78cad4cec6601d891e9fe6936b56a2571abfecb1 (diff)
downloadlinux-e9a7f8c5865d877e96f19dc7e6c457e42d05c030.tar.xz
benet: 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_enable/disable_device(), 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions