[PATCH 0/4] PCI / DPC: Few improvements

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

 



Hi,

This series includes few improvements for the PCIe DPC driver. First we
introduce module_pci_port_service() which allows reducing of boilerblate
code used in the DPC driver. In addition we convert the driver to use
managed resource functions (devm) to get rid of even more boilerblate.

I do not have hardware supporting DPC so these are only compile tested.

Mika Westerberg (4):
  PCI / PCIe: Introduce module_pci_port_service()
  PCI / DPC: Convert to use module_pcie_port_service()
  PCI / DPC: Convert the driver to use devm_* functions
  PCI / DPC: Fix whitespace in struct dpc_dev

 drivers/pci/pcie/pcie-dpc.c | 30 +++++++-----------------------
 include/linux/pcieport_if.h | 13 +++++++++++++
 2 files changed, 20 insertions(+), 23 deletions(-)

-- 
2.8.1

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