Vaibhav Gupta <vaibhavgupta40@xxxxxxxxx> 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 invoking PCI helper functions like pci_save/restore_state(), > pci_enable/disable_device() and pci_set_power_state(), which is not > recommended. > > Compile-tested only. > > Signed-off-by: Vaibhav Gupta <vaibhavgupta40@xxxxxxxxx> 2 patches applied to wireless-drivers-next.git, thanks. 814db61adb86 ipw2100: use generic power management 77b4ad07699f ipw2200: use generic power management -- https://patchwork.kernel.org/patch/11632343/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches