From patchwork Wed Oct 17 07:40:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 149032 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp327661lji; Wed, 17 Oct 2018 00:42:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV62rMD4pXHZXvcdQE31ruaP8w4cPYd+XH8nPT69ZepwYOVlxB/5lD4EU/OO0QvWL+7grHJj4 X-Received: by 2002:a17:902:1c3:: with SMTP id b61-v6mr11856991plb.65.1539762153153; Wed, 17 Oct 2018 00:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539762153; cv=none; d=google.com; s=arc-20160816; b=RxGyUEWErHMnEvtejax7H9ZK700allLskq7CEw80CP/QRw2sLDsX9KTftA1U79Z6md mM5gzJcomNzBIVY5NSLe3D4Tfy3MZ6fF1zuusgfFP5TwpKILO/q1YytO5xBjbOWb6NOH AFTNdKZZz6C3wcj2tuqZ0kToE8IdULdZpzNtkMlN390wZKnVU3dE4X0c09bmfyv1ReDs KW7UwfpaYhu8qUbfCh2FdG1kH6JL32nKC/mSxOW2+P6SYHEH7kFud9z7s4WddMHltZo7 fNroAwXavwZDCfkqHYgaypWpYnuClSWJb+W6Bhk86Tj/Shf2S20+p6EL/SjIiWWx9D5N I74g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NL93FqjXfL5GmS7Q7CEcO9WJ0fDK7IYqMoegnb1ILGg=; b=iHgkUpR6KTVZjQq0aZr9fI8HyLwm2fbJZtJJmDv1HjHvzJBk1q/RJr75wiXjFWF7YQ 1Lr+mhmaD5pD40jIR95uGZS7tyqf5RkhhLlwdEbJAB7mAcCm2mRChXv9FXYF5ezak+E0 Y4XUJGywPZJU8BOneXvlIHHUBma42dxOxIxFkRnx5jPI6PaAZA1x2BtTxGPyCm/845dZ ejLDMvOIARGiuWrrfhO1c5DJO9XDH6ckntHbSmeU0BlF4XplpEbg9NeH5MGOsUSb7647 0WEclXqfecG/E3MlLYSyCb5twdEnN5OStAyWM9dtcaDuvoKFUZPxAZwf8VTpAz3XdfLE PNNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QUHmhOgL; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h28-v6si16499013pgm.67.2018.10.17.00.42.32; Wed, 17 Oct 2018 00:42:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@ti.com header.s=ti-com-17Q1 header.b=QUHmhOgL; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727434AbeJQPgz (ORCPT + 6 others); Wed, 17 Oct 2018 11:36:55 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:42132 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbeJQPgy (ORCPT ); Wed, 17 Oct 2018 11:36:54 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9H7g3WW017510; Wed, 17 Oct 2018 02:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539762123; bh=NL93FqjXfL5GmS7Q7CEcO9WJ0fDK7IYqMoegnb1ILGg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QUHmhOgLwq/F4HeLQjUJ4f7cHYWThrYx1T9zYyQ3LSdc9CKqKx2tU39X7aROHp5Yc AxlFRYRbswdmzjI8sSFhks4Egb47b/AvJGWFi2cmutzL8JUXzQWDIsDvMDAiiBPeq7 vSuMpslPhRZEc4tVjP0FcKzAiLjS5t5W4S7IyTbk= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9H7g2cs023460; Wed, 17 Oct 2018 02:42:03 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 17 Oct 2018 02:42:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 17 Oct 2018 02:42:03 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9H7fgSQ009413; Wed, 17 Oct 2018 02:42:00 -0500 From: Kishon Vijay Abraham I To: Bjorn Helgaas , Lorenzo Pieralisi , Murali Karicheri , Jingoo Han , Gustavo Pimentel CC: Rob Herring , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 05/21] PCI: keystone: Remove unused argument from ks_dw_pcie_host_init() Date: Wed, 17 Oct 2018 13:10:58 +0530 Message-ID: <20181017074114.28239-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181017074114.28239-1-kishon@ti.com> References: <20181017074114.28239-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org No functional change. Remove unused "msi_intc_np" argument from ks_dw_pcie_host_init(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone-dw.c | 3 +-- drivers/pci/controller/dwc/pci-keystone.c | 2 +- drivers/pci/controller/dwc/pci-keystone.h | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) -- 2.17.1 diff --git a/drivers/pci/controller/dwc/pci-keystone-dw.c b/drivers/pci/controller/dwc/pci-keystone-dw.c index 0682213328e9..4bd6c6e2b177 100644 --- a/drivers/pci/controller/dwc/pci-keystone-dw.c +++ b/drivers/pci/controller/dwc/pci-keystone-dw.c @@ -439,8 +439,7 @@ void ks_dw_pcie_initiate_link_train(struct keystone_pcie *ks_pcie) * and call dw_pcie_v3_65_host_init() API to initialize the Keystone * PCI host controller. */ -int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie, - struct device_node *msi_intc_np) +int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie) { struct dw_pcie *pci = ks_pcie->pci; struct pcie_port *pp = &pci->pp; diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index aa7e706fc37d..f87ade2de711 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -341,7 +341,7 @@ static int __init ks_add_pcie_port(struct keystone_pcie *ks_pcie, } pp->ops = &keystone_pcie_host_ops; - ret = ks_dw_pcie_host_init(ks_pcie, ks_pcie->msi_intc_np); + ret = ks_dw_pcie_host_init(ks_pcie); if (ret) { dev_err(dev, "failed to initialize host\n"); return ret; diff --git a/drivers/pci/controller/dwc/pci-keystone.h b/drivers/pci/controller/dwc/pci-keystone.h index 8a13da391543..4eacc263f157 100644 --- a/drivers/pci/controller/dwc/pci-keystone.h +++ b/drivers/pci/controller/dwc/pci-keystone.h @@ -41,8 +41,7 @@ void ks_dw_pcie_enable_legacy_irqs(struct keystone_pcie *ks_pcie); void ks_dw_pcie_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset); void ks_dw_pcie_enable_error_irq(struct keystone_pcie *ks_pcie); irqreturn_t ks_dw_pcie_handle_error_irq(struct keystone_pcie *ks_pcie); -int ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie, - struct device_node *msi_intc_np); +int ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie); int ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus,