sun/cassini: use generic power management
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Mon, 6 Jul 2020 08:57:46 +0000 (14:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2020 19:24:15 +0000 (12:24 -0700)
commitf193f4ebde3d61737c93e8091964ef6cd199076b
treef0ccb3502729265d3256319bc5bec86eaaa144d1
parentb0db0cc2f695b70e36a776e708d5ccfff8add1d6
sun/cassini: 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.

Compile-tested only.

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