linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] PCI: spear: Cleanups
@ 2016-10-12 14:04 Bjorn Helgaas
  2016-10-12 14:04 ` [PATCH v2 1/4] PCI: spear: Remove unused constants Bjorn Helgaas
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2016-10-12 14:04 UTC (permalink / raw)
  To: Pratyush Anand; +Cc: linux-pci

  - Remove unused constants.  There's some documentation value in these,
    but they're only marginally useful to people without the spec, and
    I think it's preferable to rely on the spec directly to avoid
    transcription errors.

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

  - Tidy up usage of local struct device pointers.

Nothing here should change the behavior of the driver.

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

---

Bjorn Helgaas (4):
      PCI: spear: Remove unused constants
      PCI: spear: Pass device-specific struct to internal functions
      PCI: spear: Reorder struct spear13xx_pcie
      PCI: spear: Clean up struct device usage


 drivers/pci/host/pcie-spear13xx.c |  108 +++++++------------------------------
 1 file changed, 20 insertions(+), 88 deletions(-)

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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 14:04 [PATCH v2 0/4] PCI: spear: Cleanups Bjorn Helgaas
2016-10-12 14:04 ` [PATCH v2 1/4] PCI: spear: Remove unused constants Bjorn Helgaas
2016-10-12 14:04 ` [PATCH v2 2/4] PCI: spear: Pass device-specific struct to internal functions Bjorn Helgaas
2016-10-12 14:04 ` [PATCH v2 3/4] PCI: spear: Reorder struct spear13xx_pcie Bjorn Helgaas
2016-10-12 14:04 ` [PATCH v2 4/4] PCI: spear: Clean up struct device usage Bjorn Helgaas
2016-10-12 16:07 ` [PATCH v2 0/4] PCI: spear: Cleanups Bjorn Helgaas
2016-10-18  1:31   ` Pratyush Anand

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).