Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1282425imm; Fri, 8 Jun 2018 13:14:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIZigUtU9dQEcY/jIET+hj/+x0hki4Id6MgoCueLKEqh+mdmcJQoBaSNPcAGA5LcOVdmsY2 X-Received: by 2002:a63:7f5c:: with SMTP id p28-v6mr6421528pgn.64.1528488851347; Fri, 08 Jun 2018 13:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528488851; cv=none; d=google.com; s=arc-20160816; b=wym0bdu3AFcCbmviHRVVN0GmWhgCrVbKRPuAKxSnWa1J0H/jUr3T0YxcvdApi14bGb pTPEJyWDcwAHBxwO72YNU0w7QoGzKWugJjr2hVQKG3Tzw0728oCaxk+3eqBvQ2zbhnuH /MQ3lUmO7THzY2kEXc7tE3AywT5kvXj+iJqW/l8B0wBNDaK8Sa6LwEDc9Dsk/WDKKpks /dSfhZG0WynlV4rQt6rJikrtQIyxxlCw1y1JR/C4QDNnbfYUEb2AgzHN96J4tyhJUMBa V8suw7uZsvVVxSmBwTwDx3/yZlJaOBjxGi+IudlMkIljrA3CN9AeHaRmSoBIHlPQdwNH fxSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature:arc-authentication-results; bh=5qN+6B4KPYZ3yltjU4VwiIVKzw42F1a6h0vh8f4Ugv4=; b=vd1ZPu0YbwVUpsOnB2bNSXRVu97zFKTXNPAFA5vHk9FOqm6aiOxs1x6hQpkrsO10ft 2sRMyT3HDgdpKZQSau66FqbX6JFZP6XHC8nuqXGqBUj2+mcXGOGZ1ObMtK0ldHLryqdq wEHgDi9ZiEN1qe06zSbUojUbR2R11RGaTuBEaNPtjI/1UnSuZ9xhjEdSo2uFghDVr5OZ PWGfmd6/OXSyyY+PqCW2u/gG9SvRCzHdYwtsqenO7INaYw385XlwMBBsoeQgsKfyFjWu W5ul50vkN+oC/7Hmy9nVRjbu5USn68/K/j2Wq1ZKtndEd2GNJ0gXawLbDfkKi8Yv3AqM APUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZhfPkPxA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a92-v6si58338579pla.291.2018.06.08.13.13.57; Fri, 08 Jun 2018 13:14:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZhfPkPxA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932212AbeFHUMz (ORCPT + 99 others); Fri, 8 Jun 2018 16:12:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:51730 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932157AbeFHUMw (ORCPT ); Fri, 8 Jun 2018 16:12:52 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BEA2206B7; Fri, 8 Jun 2018 20:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528488771; bh=moG4p2jv7z6x42ibJGPKRA6FLSj/cK6uEl5Z+fTMslA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ZhfPkPxAmShPZg41qHxYS6yHnYx6QaYm6tq8u5qJo7JgGScJtNTS0mC19oBOUNuyH GiUXtZmc3jfY4irn9SCxoaevK2wvr/Fw8ZEs5D5RwVWsWDqVssvsqzRm+ekdcUb0/1 MqdguSi3Fjt2JE8cJlMnOTHuuDhcrmVBJZHQ5fuk= Subject: [PATCH v1 8/9] PCI/portdrv: Clean up whitespace From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Oza Pawandeep , linux-kernel@vger.kernel.org Date: Fri, 08 Jun 2018 15:12:50 -0500 Message-ID: <152848877040.14051.14265851714984144776.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas Clean up trivial whitespace issues. No functional change intended. Signed-off-by: Bjorn Helgaas --- 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)