[PATCH v2 0/4] PCI: spear: Cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  - 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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux