public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI/portdrv: Squash into portdrv.c
@ 2022-10-19 20:41 Bjorn Helgaas
  2022-10-19 20:41 ` [PATCH 1/3] " Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Bjorn Helgaas @ 2022-10-19 20:41 UTC (permalink / raw)
  To: linux-pci
  Cc: Stefan Roese, Lukas Wunner, Jan Kiszka, Stuart Hayes, Keith Busch,
	linux-kernel, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

The PCIe portdrv is split across portdrv_core.c and portdrv_pci.c, but
neither is very big and it's a hassle to figure out which to look at.

Squash them into a single portdrv.c file.  Make functions static and
non-exported when possible, and move some private things out of portdrv.h.

Please comment.

Bjorn Helgaas (3):
  PCI/portdrv: Squash into portdrv.c
  PCI/portdrv: Move private things to portdrv.c
  PCI/portdrv: Unexport pcie_port_service_register(),
    pcie_port_service_unregister()

 drivers/pci/pcie/Makefile                     |   2 +-
 .../pci/pcie/{portdrv_core.c => portdrv.c}    | 263 +++++++++++++++++-
 drivers/pci/pcie/portdrv.h                    |  19 --
 drivers/pci/pcie/portdrv_pci.c                | 252 -----------------
 4 files changed, 253 insertions(+), 283 deletions(-)
 rename drivers/pci/pcie/{portdrv_core.c => portdrv.c} (69%)
 delete mode 100644 drivers/pci/pcie/portdrv_pci.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-24 22:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 20:41 [PATCH 0/3] PCI/portdrv: Squash into portdrv.c Bjorn Helgaas
2022-10-19 20:41 ` [PATCH 1/3] " Bjorn Helgaas
2022-10-20  8:33   ` Christoph Hellwig
2022-10-19 20:41 ` [PATCH 2/3] PCI/portdrv: Move private things to portdrv.c Bjorn Helgaas
2022-10-20  8:33   ` Christoph Hellwig
2022-10-19 20:41 ` [PATCH 3/3] PCI/portdrv: Unexport pcie_port_service_register(), pcie_port_service_unregister() Bjorn Helgaas
2022-10-20  8:34   ` Christoph Hellwig
2022-10-19 20:44 ` [PATCH 0/3] PCI/portdrv: Squash into portdrv.c Keith Busch
2022-10-24 20:15 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox