[PATCH v1 8/9] PCI/portdrv: Clean up whitespace

From: Bjorn Helgaas
Date: Fri Jun 08 2018 - 16:13:00 EST


From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Clean up trivial whitespace issues. No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
---
drivers/pci/pcie/portdrv_pci.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 76ad08e97a6f..4fc86d0eef9d 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -644,7 +644,7 @@ int pcie_port_device_register(struct pci_dev *dev)
* this port device.
*/
static int pcie_portdrv_probe(struct pci_dev *dev,
- const struct pci_device_id *id)
+ const struct pci_device_id *id)
{
int status;

@@ -759,13 +759,11 @@ static void pcie_portdrv_err_resume(struct pci_dev *dev)
device_for_each_child(&dev->dev, NULL, err_resume_iter);
}

-/*
- * LINUX Device Driver Model
- */
static const struct pci_device_id port_pci_ids[] = { {
/* handle any PCI-Express port */
PCI_DEVICE_CLASS(((PCI_CLASS_BRIDGE_PCI << 8) | 0x00), ~0),
- }, { /* end: all zeroes */ }
+ },
+ { }
};

static const struct pci_error_handlers pcie_portdrv_err_handler = {
@@ -777,7 +775,7 @@ static const struct pci_error_handlers pcie_portdrv_err_handler = {

static struct pci_driver pcie_portdriver = {
.name = "pcieport",
- .id_table = &port_pci_ids[0],
+ .id_table = port_pci_ids,

.probe = pcie_portdrv_probe,
.remove = pcie_portdrv_remove,
@@ -809,7 +807,7 @@ static const struct dmi_system_id pcie_portdrv_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "U-100"),
},
},
- {}
+ { }
};

static int __init pcie_portdrv_init(void)