From patchwork Tue Feb 19 06:17:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 158679 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3307302jaa; Mon, 18 Feb 2019 22:18:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IbYNxP8o4b0j5ubTyfhRQ9pjaXRsPxzvo55pr3i7DNmAXPNIrhRdUnP8owS2qLE4xH/xScI X-Received: by 2002:a17:902:2a47:: with SMTP id i65mr29544929plb.237.1550557126549; Mon, 18 Feb 2019 22:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550557126; cv=none; d=google.com; s=arc-20160816; b=ghM6l65PrTC5E+pF4AgoBZPp1CQlL+HnExRriYTFNz7csM2huXRqOfNHXenBNp3LBi /k2TL7yHlEM/F6/wKv9PuYpuZYr38eBR2PWRMKNK9yCf2mOh0tj9Fxzdpl47ccB90rF9 wk2OQznLtXh+kjVlBAJrUkhSvtsKre2YPTxqjQU+sFDDK9uRg1LQ/rnC9AU8pZmXSg0T fWqbx0hWnTya1e+T/AK2wnRe2GMKepkgxsdZCfD36qKeS60GYCvvjSdXQuRuKlGVO3LH CD+RKQQ/3hf22An/60Q5nhRXdOsV6IFXoPO6gkZkLTP7BkHGAT/XhNb9ruB1SzBhd1DH gDoA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wL8R75BA5jTOvZDOugKOLh8f1Dqje3V4bLziJWoIM/c=; b=u3jOkioWxJAkpVH+sJeK9KXkA0cA51Gn/EEy+ta+BX56iuHS5p3j6/ltXOh22kXBuu iP0kZYI6ZBaMCjQn18YZkfjL4QCGuUxWvFTnUwApCyovxwFTPAjOq2oiRCItC+O21nSZ xPv8UdUBToY0geZ9yceh8nrb3JhXNLoTPkmsnG9sMO/0DxCfLFTmkibxiNTDO4EwqqHA 2SBSLiDgaw9OH3SaMldNdYX4E0IKCxGFYA/yAZMTzOA+VCojY7AKNoceymU00yQHSape fzqd2gVv5arJvUKwXMFouCZe02ZYVU/uV3sqwp7FyhY0+hRpHEwl1WCF2/ik3IMi5T5y nUUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fonKvu65; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 o12si14340920pgv.252.2019.02.18.22.18.46; Mon, 18 Feb 2019 22:18:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=fonKvu65; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726187AbfBSGSp (ORCPT + 15 others); Tue, 19 Feb 2019 01:18:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:50000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfBSGSp (ORCPT ); Tue, 19 Feb 2019 01:18:45 -0500 Received: from localhost.localdomain (unknown [106.200.226.2]) (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 1B51121902; Tue, 19 Feb 2019 06:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550557124; bh=KideJAVptmzmKbIXmhjIYotCYe98xkySu2s+EzwBsXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fonKvu65QfMIrbKfieJ6osywWsy8vhc/YXrExYvFEQP11rkgzGxGoPlOO8u/UUM83 ISplXocwaluuaqbOBmjafS7u+x87nQwv02Ao8tIGvKae4E3mSzTc2HW6QKNz1V4W3B 7qJFBIKw90HBSPanMARz87WR5pvR0Rs3WdlYeUfs= From: Vinod Koul To: David S Miller Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , netdev@vger.kernel.org, Niklas Cassel , Andrew Lunn , Florian Fainelli , "Nori, Sekhar" , Peter Ujfalusi , Marc Gonzalez Subject: [PATCH net-next v3 1/2] net: phy: at803x: don't inline helpers Date: Tue, 19 Feb 2019 11:47:59 +0530 Message-Id: <20190219061800.31025-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190219061800.31025-1-vkoul@kernel.org> References: <20190219061800.31025-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some helpers were inlined, but makes more sense to allow compiler to do the right optimizations instead, so remove inline for at803x_disable_rx_delay() and at803x_disable_tx_delay() Reviewed-by: Niklas Cassel Signed-off-by: Vinod Koul --- drivers/net/phy/at803x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 8ff12938ab47..c6e7d800fd7a 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -110,13 +110,13 @@ static int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg, return phy_write(phydev, AT803X_DEBUG_DATA, val); } -static inline int at803x_disable_rx_delay(struct phy_device *phydev) +static int at803x_disable_rx_delay(struct phy_device *phydev) { return at803x_debug_reg_mask(phydev, AT803X_DEBUG_REG_0, AT803X_DEBUG_RX_CLK_DLY_EN, 0); } -static inline int at803x_disable_tx_delay(struct phy_device *phydev) +static int at803x_disable_tx_delay(struct phy_device *phydev) { return at803x_debug_reg_mask(phydev, AT803X_DEBUG_REG_5, AT803X_DEBUG_TX_CLK_DLY_EN, 0);