From patchwork Mon May 21 13:11:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10415279 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B493960545 for ; Mon, 21 May 2018 13:12:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E8F9289E9 for ; Mon, 21 May 2018 13:12:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96A3A28A58; Mon, 21 May 2018 13:12:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C601A289E9 for ; Mon, 21 May 2018 13:11:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751181AbeEUNLl (ORCPT ); Mon, 21 May 2018 09:11:41 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45017 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeEUNLl (ORCPT ); Mon, 21 May 2018 09:11:41 -0400 Received: by mail-wr0-f193.google.com with SMTP id y15-v6so15952302wrg.11; Mon, 21 May 2018 06:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1F1DHD5SDDMq8ugqeyfT6RCZ4NOdbmq6p4IbR639f1I=; b=K8QgZ3++PdYMi6RYk7jLBdyyKJa5uKUJLJ/JTCPi1oi9ORdNVsoG8bKRxddFrCDETe MVSbM7GEzWzOqArLVUNPtfugmUYEpq4NXkatUSfE4uGVozmSgSVTg+FjAFK7hjO0FTB2 CsF9BD1qHIb0zhxFTY8m+F+Tr3o6dhC8OghcniL0n6+LS6cl21Z+UpOt0F9uZaR6h1Dn /55uL1k05pGq5Ag3XVNmBp3A8KlzL8DJjF6miOCUZCXag+r9fbZtjDpufgk8791BPdSh kKJ9qh2U5ORGCD6rxp/rvsumJerxsRkLRAk9gXrn2FnBnWBCxRlVu1z/FFKPP1zLXPkV yE4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1F1DHD5SDDMq8ugqeyfT6RCZ4NOdbmq6p4IbR639f1I=; b=hDYzoIY5BWW/ZoYeasthY7jE67oeygmpRRjZtchUBXs66ggkTUnbYbOSsnBN6MRV6A Z04EGA9o1mGCVCfSkmGskuCCzXQMXCE+Ltyw9o8/EqI6N5OeItO/lVmkq1UGcTleIUWZ v5qohoAv7V5FMs0BCbE7Q2gRXL5RAJ6pHbTrIQsfz/YVRxkvpO8VuTAn7owRqe6ixgYN hQqmgeB5cVpHafm2hi7AObseotfQX5h7nheRxfMSlU87XjcnqWiNSS2qH5s+jVELo2qv j3LGjDU+bDRKqMEC2QP4u7R76/QwVLc3rkPcX4Y92DH5RiIHlk+fzd+KcAiw+0qcwpzH Y+PA== X-Gm-Message-State: ALKqPwcHu3Q6ZzKRgG9dKGX1w6MRb4Fbcqnr1dVQuWTZGcljOBXYbI/i HMJjLu4/cwD0vE1Qt/xCftA/H6oX X-Google-Smtp-Source: AB8JxZqYzSDqwgbNWKE1knkTAy8HFvtsKVzhS/KZh6P/OZ0ikhhrz+Ax6dp80OFRg+PGDulrRhkhAA== X-Received: by 2002:adf:9a54:: with SMTP id z78-v6mr14838356wrb.235.1526908299472; Mon, 21 May 2018 06:11:39 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id f15-v6sm3077068wrm.52.2018.05.21.06.11.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 06:11:38 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-pci@vger.kernel.org Cc: Marek Vasut , Geert Uytterhoeven , Phil Edworthy , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/4] PCI: rcar: Rename rcar_pcie_parse_request_of_pci_ranges() Date: Mon, 21 May 2018 15:11:20 +0200 Message-Id: <20180521131123.2009-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The function name is just too confusing, rename it, no functional change. Rename the function to rcar_pcie_alloc_and_parse_pci_resource_list() as it's matching failpath function is pci_free_resource_list() so the names align much better and the new name also describes what the function does much better. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Phil Edworthy Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- drivers/pci/host/pcie-rcar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index e403c5206b24..dbc80e457f95 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -1051,7 +1051,7 @@ static const struct of_device_id rcar_pcie_of_match[] = { {}, }; -static int rcar_pcie_parse_request_of_pci_ranges(struct rcar_pcie *pci) +static int rcar_pcie_alloc_and_parse_pci_resource_list(struct rcar_pcie *pci) { int err; struct device *dev = pci->dev; @@ -1108,7 +1108,7 @@ static int rcar_pcie_probe(struct platform_device *pdev) INIT_LIST_HEAD(&pcie->resources); - err = rcar_pcie_parse_request_of_pci_ranges(pcie); + err = rcar_pcie_alloc_and_parse_pci_resource_list(pcie); if (err) goto err_free_bridge;