Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] PCI: xgene: Cleanups
@ 2016-10-12 13:07 Bjorn Helgaas
  2016-10-12 13:07 ` [PATCH v2 1/4] PCI: xgene: Add local struct device pointers Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2016-10-12 13:07 UTC (permalink / raw)
  To: Duc Dang, Tanmay Inamdar; +Cc: linux-pci

  - Add local "dev" pointers to reduce repetition of things like
    "&pdev->dev".

  - Remove platform drvdata because it appears unused (we called
    platform_set_drvdata() but not platform_get_drvdata()).

  - Pass the struct xgene_pcie_port pointer, not addresses, to setup
    functions to enable simplifications.

  - Add register accessors to encapsulate usage of port->csr_base a bit.

Nothing here should change the behavior of the driver.

Changes from v1:
  I dropped the following patch because it was a lot of churn for
  questionable benefit:
    PCI: xgene: Name private struct pointer "xgene" consistently

---

Bjorn Helgaas (4):
      PCI: xgene: Add local struct device pointers
      PCI: xgene: Remove unused platform data
      PCI: xgene: Pass struct xgene_pcie_port to setup functions
      PCI: xgene: Add register accessors


 drivers/pci/host/pci-xgene.c |  151 +++++++++++++++++++++++-------------------
 1 file changed, 81 insertions(+), 70 deletions(-)

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

end of thread, other threads:[~2016-10-12 23:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 13:07 [PATCH v2 0/4] PCI: xgene: Cleanups Bjorn Helgaas
2016-10-12 13:07 ` [PATCH v2 1/4] PCI: xgene: Add local struct device pointers Bjorn Helgaas
2016-10-12 13:07 ` [PATCH v2 2/4] PCI: xgene: Remove unused platform data Bjorn Helgaas
2016-10-12 13:07 ` [PATCH v2 3/4] PCI: xgene: Pass struct xgene_pcie_port to setup functions Bjorn Helgaas
2016-10-12 13:08 ` [PATCH v2 4/4] PCI: xgene: Add register accessors Bjorn Helgaas
2016-10-12 16:03 ` [PATCH v2 0/4] PCI: xgene: Cleanups Bjorn Helgaas
2016-10-12 23:20   ` Duc Dang

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