On Sat, Jul 12, 2025 at 03:05:28PM +0530, Manivannan Sadhasivam wrote: > On Fri, Jul 11, 2025 at 06:00:13PM GMT, Bjorn Helgaas wrote: > > On Fri, Jul 11, 2025 at 04:38:48PM +0300, Ilpo Järvinen wrote: > > > > > +++ b/include/linux/pci.h > > > @@ -1826,8 +1826,8 @@ static inline int pcie_set_target_speed(struct pci_dev *port, > > > #ifdef CONFIG_PCIEASPM > > > int pci_disable_link_state(struct pci_dev *pdev, int state); > > > int pci_disable_link_state_locked(struct pci_dev *pdev, int state); > > > -int pci_enable_link_state(struct pci_dev *pdev, int state); > > > > AFAICT there's no caller of this at all. Why do we keep it? > > I'm just working on a series to convert the ath{10/11/12}k drivers to use this > API instead of modifying LNKCTL register directly: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ath/ath12k/pci.c#n961 Awesome! It will be great to get more of the ASPM gunk out of drivers.