[Linux-kernel-mentees] [PATCH v1] rtl818x_pci: use generic power management
kvalo at codeaurora.org
Wed Jul 15 10:38:15 UTC 2020
Vaibhav Gupta <vaibhavgupta40 at gmail.com> wrote:
> Earlier, drivers had to manage the device's power states, and related
> operations, themselves. With the generic approach, these are done by PCI
> The only driver-specific jobs, .suspend() and .resume() doing were invoking
> PCI helper functions pci_save/restore_state() and
> pci_set_power_state(). This is not recommeneded as PCI core takes care of
> that. Hence they became empty-body functions, thus define them NULL.
> Compile-tested only.
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40 at gmail.com>
Patch applied to wireless-drivers-next.git, thanks.
ef6425107ccc rtl818x_pci: use generic power management
More information about the Linux-kernel-mentees