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

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

  - Use generic DesignWare accessors when possible.

  - Pass device-specific struct instead of register addresses to IRQ and
    DBI functions.

  - Add app register accessors to encapsulate usage of va_app_base.

Nothing here should change the behavior of the driver.

Changes from v1:
  Added local struct device pointers.
  I dropped the following patch because it was a lot of churn for
  questionable benefit:
    PCI: keystone: Name private struct pointer "keystone" consistently

---

Bjorn Helgaas (6):
      PCI: keystone: Add local struct device pointers
      PCI: keystone: Use generic DesignWare accessors
      PCI: keystone: Pass keystone_pcie, not address, to IRQ functions
      PCI: keystone: Pass keystone_pcie, not va_app_base, to DBI functions
      PCI: keystone: Add app register accessors
      PCI: keystone: Reorder struct keystone_pcie


 drivers/pci/host/pci-keystone-dw.c |  123 ++++++++++++++++++++----------------
 drivers/pci/host/pci-keystone.c    |   28 ++++----
 drivers/pci/host/pci-keystone.h    |    9 +--
 3 files changed, 88 insertions(+), 72 deletions(-)

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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 13:53 [PATCH v2 0/6] PCI: keystone: Cleanups Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 1/6] PCI: keystone: Add local struct device pointers Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 2/6] PCI: keystone: Use generic DesignWare accessors Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 3/6] PCI: keystone: Pass keystone_pcie, not address, to IRQ functions Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 4/6] PCI: keystone: Pass keystone_pcie, not va_app_base, to DBI functions Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 5/6] PCI: keystone: Add app register accessors Bjorn Helgaas
2016-10-12 13:53 ` [PATCH v2 6/6] PCI: keystone: Reorder struct keystone_pcie Bjorn Helgaas
2016-10-12 16:06 ` [PATCH v2 0/6] PCI: keystone: Cleanups Bjorn Helgaas
2016-10-13 17:56   ` Murali Karicheri
2016-10-13 18:27     ` 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).