summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/tlan.c
diff options
context:
space:
mode:
authorVaibhav Gupta <vaibhavgupta40@gmail.com>2020-07-30 12:23:35 +0530
committerDavid S. Miller <davem@davemloft.net>2020-07-30 17:43:01 -0700
commit7fa8bb48a45091dba1f8e7163451538b34314e1e (patch)
tree63722dbcd71a82aca1cfec877f402c2a95a8dd68 /drivers/net/ethernet/ti/tlan.c
parentbfc6c183cb820bfca22c6f075bd81be7ef84d774 (diff)
sis900: use generic power management
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the unnecessary load from the driver. This also avoids the need for the driver to directly call most of the PCI helper functions and device power state control functions, as through the generic framework PCI Core takes care of the necessary operations, and drivers are required to do only device-specific jobs. Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/tlan.c')
0 files changed, 0 insertions, 0 deletions