diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2020-07-01 22:20:54 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-01 12:58:33 -0700 |
commit | 0e3e206a3e127417d492cb959b3b53522255dfd0 (patch) | |
tree | 4baf6513f3be0f2a59dfe25adaa6614e582cabd1 /scripts | |
parent | e9a7f8c5865d877e96f19dc7e6c457e42d05c030 (diff) | |
download | linux-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 'scripts')
0 files changed, 0 insertions, 0 deletions