smsc9420: use generic power management
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Fri, 3 Jul 2020 03:01:38 +0000 (08:31 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 22:20:49 +0000 (15:20 -0700)
commit53fff2bfb3fcce7f7e8ac424da73070ac7a550da
tree47c75a21e27a86789e05551af64e9b20eb94f090
parent622594f2ad8be03d55a56f4f91c41ae5f3849703
smsc9420: use generic power management

Drivers should not use legacy power management as they have to manage power
states and related operations, for the device, themselves. This driver was
handling them with the help of PCI helper functions.

With generic PM, all essentials will be handled by the PCI core. Driver
needs to do only device-specific operations.

Compile-tested only.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc9420.c