diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2020-06-23 12:44:55 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-07-15 13:37:59 +0300 |
commit | ef6425107ccceabf2743e7c848d174a4d51808ab (patch) | |
tree | 9a43ab1831435e24eea26d02ca53efb3dbc84cb5 /drivers/net/wireless/intersil | |
parent | a7f7c15e945a24fbb8ff99d3b19ab0dcd764030d (diff) | |
download | linux-ef6425107ccceabf2743e7c848d174a4d51808ab.tar.xz |
rtl818x_pci: use generic power management
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200623094454.12427-1-vaibhavgupta40@gmail.com
Diffstat (limited to 'drivers/net/wireless/intersil')
0 files changed, 0 insertions, 0 deletions