diff options
| author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2020-05-18 20:32:13 +0530 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-05-19 15:32:24 -0700 |
| commit | 6ad70c7686d4ad14cbea4f9930037cabea0cdb7a (patch) | |
| tree | 7b4aebc92378fb8309f3caa5d7d6957e0a3f8e9a /scripts/gdb/linux/proc.py | |
| parent | f8e48fca49cc52626e904d46f86680cb90ad5f48 (diff) | |
realtek/8139too: use generic power management
compile-tested only
With legacy PM hooks, it was the responsibility
of a driver to manage PCI states and also
device's power state. The generic approach is
to let PCI core handle the work.
PCI core passes "struct device*" as an argument
to the .suspend() and .resume() callbacks. As
these callabcks work with "struct net_device*",
extract it from "struct device*" using
dev_get_drv_data().
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
