linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] PCI: dra7xx: Cleanups
@ 2016-10-12 13:32 Bjorn Helgaas
  2016-10-12 13:32 ` [PATCH v2 1/7] PCI: dra7xx: Add local struct device pointers Bjorn Helgaas
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Bjorn Helgaas @ 2016-10-12 13:32 UTC (permalink / raw)
  To: Kishon Vijay Abraham I; +Cc: linux-pci, linux-omap

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

  - Remove redundant struct members.

  - Use generic DesignWare accessors when possible.

  - Pass device-specific struct to internal functions for consistency.

  - Move struct pcie_port setup to probe function for consistency.

Nothing here should change the behavior of the driver.

Changes from v1:
  I dropped the following patches because they were a lot of churn for
  questionable benefit:
    PCI: dra7xx: Rename accessors
    PCI: dra7xx: Name private struct pointer "dra7xx" consistently

---

Bjorn Helgaas (7):
      PCI: dra7xx: Add local struct device pointers
      PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie
      PCI: dra7xx: Set drvdata at end of probe function
      PCI: dra7xx: Use generic DesignWare accessors
      PCI: dra7xx: Pass device-specific struct to internal functions
      PCI: dra7xx: Move struct pcie_port setup to probe function
      PCI: dra7xx: Reorder struct dra7xx_pcie


 drivers/pci/host/pci-dra7xx.c |  103 ++++++++++++++++++-----------------------
 1 file changed, 45 insertions(+), 58 deletions(-)

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

end of thread, other threads:[~2016-10-13 15:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 13:32 [PATCH v2 0/7] PCI: dra7xx: Cleanups Bjorn Helgaas
2016-10-12 13:32 ` [PATCH v2 1/7] PCI: dra7xx: Add local struct device pointers Bjorn Helgaas
2016-10-12 13:32 ` [PATCH v2 2/7] PCI: dra7xx: Remove redundant struct device pointer from dra7xx_pcie Bjorn Helgaas
2016-10-12 13:32 ` [PATCH v2 3/7] PCI: dra7xx: Set drvdata at end of probe function Bjorn Helgaas
2016-10-12 19:48   ` Andrew F. Davis
2016-10-12 22:21     ` Bjorn Helgaas
2016-10-13 15:24       ` Andrew F. Davis
2016-10-12 13:33 ` [PATCH v2 4/7] PCI: dra7xx: Use generic DesignWare accessors Bjorn Helgaas
2016-10-12 13:33 ` [PATCH v2 5/7] PCI: dra7xx: Pass device-specific struct to internal functions Bjorn Helgaas
2016-10-12 13:33 ` [PATCH v2 6/7] PCI: dra7xx: Move struct pcie_port setup to probe function Bjorn Helgaas
2016-10-12 19:58   ` Andrew F. Davis
2016-10-12 13:33 ` [PATCH v2 7/7] PCI: dra7xx: Reorder struct dra7xx_pcie Bjorn Helgaas
2016-10-12 16:04 ` [PATCH v2 0/7] PCI: dra7xx: Cleanups Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).