From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 15A7B1BF48D for ; Mon, 15 Oct 2018 18:23:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 12F7D85BD0 for ; Mon, 15 Oct 2018 18:23:26 +0000 (UTC) Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YHsh8gT9yfWN for ; Mon, 15 Oct 2018 18:23:25 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 657408521D for ; Mon, 15 Oct 2018 18:23:25 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id 185-v6so20704424wmt.2 for ; Mon, 15 Oct 2018 11:23:25 -0700 (PDT) From: Sergio Paracuellos Subject: [PATCH v5 13/17] staging: mt7621-pci: rename 'mt7621_pcie_enable_port' into 'mt7621_pcie_init_port' Date: Mon, 15 Oct 2018 20:23:03 +0200 Message-Id: <1539627787-2958-14-git-send-email-sergio.paracuellos@gmail.com> In-Reply-To: <1539627787-2958-1-git-send-email-sergio.paracuellos@gmail.com> References: <1539627787-2958-1-git-send-email-sergio.paracuellos@gmail.com> List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: gregkh@linuxfoundation.org Cc: neil@brown.name, driverdev-devel@linuxdriverproject.org Rename function 'mt7621_pcie_enable_port' with a name which is better for what the function is really doing calling it 'mt7621_pcie_init_port'. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pci/pci-mt7621.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 50c7bd7..11fe9ff 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -543,7 +543,7 @@ static int mt7621_pcie_parse_dt(struct mt7621_pcie *pcie) return 0; } -static int mt7621_pcie_enable_port(struct mt7621_pcie_port *port) +static int mt7621_pcie_init_port(struct mt7621_pcie_port *port) { struct mt7621_pcie *pcie = port->pcie; struct device *dev = pcie->dev; @@ -660,7 +660,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) list_for_each_entry_safe(port, tmp, &pcie->ports, list) { u32 slot = port->slot; - err = mt7621_pcie_enable_port(port); + err = mt7621_pcie_init_port(port); if (err) { dev_err(dev, "enabling port %d failed\n", slot); list_del(&port->list); -- 2.7.4 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel