From patchwork Thu Oct 11 08:52:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10636275 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B95451508 for ; Thu, 11 Oct 2018 08:52:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A78252B21B for ; Thu, 11 Oct 2018 08:52:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C0D42B21C; Thu, 11 Oct 2018 08:52:28 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham 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 433372B239 for ; Thu, 11 Oct 2018 08:52:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727681AbeJKQSq (ORCPT ); Thu, 11 Oct 2018 12:18:46 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40890 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726205AbeJKQSp (ORCPT ); Thu, 11 Oct 2018 12:18:45 -0400 Received: by mail-wm1-f67.google.com with SMTP id z204-v6so8510824wmc.5 for ; Thu, 11 Oct 2018 01:52:26 -0700 (PDT) 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:in-reply-to :references; bh=D/YmYOAVr/RO6b56NB6/u7RzOApU4JVjt8zBK+ZR/Lo=; b=aj8n1d/7esO6bZBurYmHcCvHpdyRY3g7EcL61jjyFPoyYe4kH0KgFgSPol+R4BbNV9 yrBId5ZvuDd23DdrRsoYpFrhRUGhTyV+eqiHsbOEVk9rTkp+0J1bmYSAUmwaX0tjdJpk 2JHiWmDtD1A1o7uNK3rcR1dc1oNnMDS59On0L05wkovzQe7/5VfjWbXrUY/EN23YeKe1 As/TaEJNs71kRB+KtzT7Sol5PSz4zGbRI2N8v9V8Cc+J9RhRDb9zXAdpXdL5bgc8Kp5C bSFet5n+5VreKwD+V+MKc4TCC0JhDHrAGHVT9gQHCG6muDUOE9ZDag2X6QFVzOiLIHK0 nbzw== X-Gm-Message-State: ABuFfojqPMv+Jq4LptTR8MrKONEJP/Ucgm9Kw3EXTSKqBb3F6gAItGeI wgE9qu1f5tLLdAL3jdp8D+w5nA== X-Google-Smtp-Source: ACcGV61Dj0KGyt3H8NB6je5TAG7QYUWtX88/lAId9QFbNHbnUrezmdetmot7NMwzfnQbFbFx8oWxdA== X-Received: by 2002:a1c:6783:: with SMTP id b125-v6mr890225wmc.142.1539247945503; Thu, 11 Oct 2018 01:52:25 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id v184-v6sm950839wme.3.2018.10.11.01.52.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 01:52:24 -0700 (PDT) From: Lorenzo Bianconi To: nbd@nbd.name Cc: sgruszka@redhat.com, linux-wireless@vger.kernel.org Subject: [RFC 03/12] mt76x0: pci: rename mt76x0_phy_calibrate Date: Thu, 11 Oct 2018 10:52:00 +0200 Message-Id: X-Mailer: git-send-email 2.17.2 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Rename mt76x0_phy_calibrate routine in mt76x0_phy_calibration_work in order to not collide with calibration routine for mt76x0e Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index 638a2bca5cff..9a8e1fcee26b 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c @@ -787,7 +787,7 @@ static void mt76x0_dynamic_vga_tuning(struct mt76x02_dev *dev) mt76_wr(dev, MT_BBP(AGC,8), val); } -static void mt76x0_phy_calibrate(struct work_struct *work) +static void mt76x0_phy_calibration_work(struct work_struct *work) { struct mt76x02_dev *dev = container_of(work, struct mt76x02_dev, cal_work.work); @@ -854,7 +854,7 @@ static void mt76x0_rf_init(struct mt76x02_dev *dev) void mt76x0_phy_init(struct mt76x02_dev *dev) { - INIT_DELAYED_WORK(&dev->cal_work, mt76x0_phy_calibrate); + INIT_DELAYED_WORK(&dev->cal_work, mt76x0_phy_calibration_work); mt76x0_rf_init(dev); mt76x02_phy_set_rxpath(dev);