]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: bt8xx: use generic power management
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Thu, 16 Oct 2025 16:36:13 +0000 (16:36 +0000)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 23 Oct 2025 07:56:05 +0000 (09:56 +0200)
commitd5376026f9269601e239545e2ec4aea0cc62bf2a
tree0406a589d5d652a7130d1c808b59c940f2e925bd
parent03ac8183c9a5f0a635184d3f4eceb47480fcd4a7
gpio: bt8xx: use generic power management

Switch to the generic PCI power management framework and remove legacy
callbacks like .suspend() and .resume(). With the generic framework, the
standard PCI related work like:
- pci_save/restore_state()
- pci_enable/disable_device()
- pci_set_power_state()
is handled by the PCI core and this driver should implement only gpio-bt8xx
specific operations in its respective callback functions.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20251016163618.1355923-1-vaibhavgupta40@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-bt8xx.c