PCI/PTM: Move pci_ptm_info() body into its only caller
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Sep 2022 20:25:01 +0000 (15:25 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Sep 2022 20:29:42 +0000 (15:29 -0500)
commit91b12b2a100e977274d3c277a4ff2df0b7439e7d
treeeb793328b4d3839ae89dcdbd70da665a1e4bc299
parente8bdc5ea481638e0a4fd5639050d2b170417f493
PCI/PTM: Move pci_ptm_info() body into its only caller

pci_ptm_info() is simple and is only called by pci_enable_ptm().  Move the
entire body there.  No functional change intended.

Link: https://lore.kernel.org/r/20220909202505.314195-6-helgaas@kernel.org
Tested-by: Rajvi Jingar <rajvi.jingar@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/pcie/ptm.c