Re: [PATCH v3 0/3] drivers: ide: use generic power management

From: David Miller
Date: Mon Aug 03 2020 - 21:49:13 EST


From: Vaibhav Gupta <vaibhavgupta40@xxxxxxxxx>
Date: Mon, 13 Jul 2020 23:06:10 +0530

> Linux Kernel Mentee: Remove Legacy Power Management.
>
> The purpose of this patch series is to remove legacy power management callbacks
> from ide drivers.
>
> The suspend() and resume() callbacks operations are still invoking
> pci_save/restore_state(), pci_set_power_state(), pci_enable/disable_state(),
> etc. and handling the power management themselves, which is not recommended.
>
> The conversion requires the removal of the those function calls and change the
> callback definition accordingly and make use of dev_pm_ops structure.

Series applied.