summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/en_clock.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-01 22:20:54 +0530
committerDavid S. Miller <davem@davemloft.net>2020-07-01 12:58:33 -0700
commit0e3e206a3e127417d492cb959b3b53522255dfd0 (patch)
tree4baf6513f3be0f2a59dfe25adaa6614e582cabd1 /drivers/net/ethernet/mellanox/mlx4/en_clock.c
parente9a7f8c5865d877e96f19dc7e6c457e42d05c030 (diff)
downloadlinux-0e3e206a3e127417d492cb959b3b53522255dfd0.tar.bz2
mlx4: 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. Use "struct dev_pm_ops" variable to bind the callbacks. 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/en_clock.c')
0 files changed, 0 insertions, 0 deletions