]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: mvebu: Use port->name rather than "PCIe%d.%d"
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Sep 2015 17:17:53 +0000 (18:17 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 8 Oct 2015 16:23:10 +0000 (11:23 -0500)
commitab7ea3053575f31264bc8b8357203bdf970a6248
treea1e51d0f8ad220022cb18e5a23bff773499c3365
parent2cdf4ed184d4a340b91e362892eb67effe17ef75
PCI: mvebu: Use port->name rather than "PCIe%d.%d"

Use the port->name string which we previously formatted when referring to
the name of a port, rather than manually creating the port name each time.

Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (Armada XP GP)
Tested-by: Andrew Lunn <andrew@lunn.ch> (Kirkwood DIR665)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pci-mvebu.c