| From | Jinpu Wang <> | Date | Thu, 23 Jul 2020 09:02:36 +0200 | Subject | Re: [PATCH v2 10/15] scsi: pm_8001: use generic power management |
| |
On Mon, Jul 20, 2020 at 3:38 PM Vaibhav Gupta <vaibhavgupta40@gmail.com> wrote: > > 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. > > The driver was calling pci_save/restore_state(), pci_choose_state(), > pci_enable/disable_device() and pci_set_power_state() which is no more > needed. > > Compile-tested only. > > Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com> nit: subject should be pm8001 Thanks! Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
|