linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] PCI / DPC: Few improvements
@ 2016-06-06 13:06 Mika Westerberg
  2016-06-06 13:06 ` [PATCH 1/4] PCI / PCIe: Introduce module_pci_port_service() Mika Westerberg
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Mika Westerberg @ 2016-06-06 13:06 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Keith Busch, Mika Westerberg, linux-pci

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


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

end of thread, other threads:[~2016-06-22 10:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 13:06 [PATCH 0/4] PCI / DPC: Few improvements Mika Westerberg
2016-06-06 13:06 ` [PATCH 1/4] PCI / PCIe: Introduce module_pci_port_service() Mika Westerberg
2016-06-06 13:06 ` [PATCH 2/4] PCI / DPC: Convert to use module_pcie_port_service() Mika Westerberg
2016-06-06 13:06 ` [PATCH 3/4] PCI / DPC: Convert the driver to use devm_* functions Mika Westerberg
2016-06-06 13:06 ` [PATCH 4/4] PCI / DPC: Fix whitespace in struct dpc_dev Mika Westerberg
2016-06-06 14:44 ` [PATCH 0/4] PCI / DPC: Few improvements Keith Busch
2016-06-17  9:57 ` Mika Westerberg
2016-06-21 18:57 ` Bjorn Helgaas
2016-06-22 10:09   ` Mika Westerberg

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