]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit005b28f0b41298ab1315a6732580a16ef452e703
tree47c75a21e27a86789e05551af64e9b20eb94f090
parentc2a4df51d2a94a1117250b4f2e32a30840cb9783
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