summaryrefslogtreecommitdiff
path: root/drivers/char/agp/nvidia-agp.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-10-25 15:38:45 -0500
committerBjorn Helgaas <bhelgaas@google.com>2022-10-26 11:25:16 -0500
commit94e9f9a23fe4b093cd5a8b292165fad840242b79 (patch)
tree04d72de0be71c579c6ef756faf8d028fb42a8412 /drivers/char/agp/nvidia-agp.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-94e9f9a23fe4b093cd5a8b292165fad840242b79.tar.gz
agp/efficeon: Convert to generic power management
Convert agpgart-efficeon from legacy PCI power management to the generic power management framework. Previously agpgart-efficeon used legacy PCI power management, which means agp_efficeon_suspend() and agp_efficeon_resume() were responsible for both device-specific things and generic PCI things like saving and restoring config space and managing power state. In this case, agp_efficeon_suspend() was empty, and agp_efficeon_resume() already did only device-specific things, so simply convert it to take a struct device * instead of a struct pci_dev *. Based on 0aeddbd0cb07 ("via-agp: convert to generic power management") by Vaibhav Gupta <vaibhavgupta40@gmail.com>. Link: https://lore.kernel.org/r/20221025203852.681822-2-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/nvidia-agp.c')
0 files changed, 0 insertions, 0 deletions