Vaibhav Gupta [off-list ref] wrote:
Earlier, drivers had to manage the device's power states, and related
operations, themselves. With the generic approach, these are done by PCI
core.
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@gmail.com>
Patch applied to wireless-drivers-next.git, thanks.
ef6425107ccc rtl818x_pci: use generic power management
--
https://patchwork.kernel.org/patch/11620213/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches