From patchwork Mon Feb 18 10:18:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 158582 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2311471jaa; Mon, 18 Feb 2019 02:19:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IZMqGW27VQbw37Idnc8ZR+fVaNnzWDWZ/czgy2c+kCuG/TuYfYhltqDp7QfbKcLGruzddpW X-Received: by 2002:a63:5462:: with SMTP id e34mr16956974pgm.97.1550485172224; Mon, 18 Feb 2019 02:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550485172; cv=none; d=google.com; s=arc-20160816; b=vPA6CGC2Cko4Ux7TYx8sg38XvJToCO1NnRfWO/f2MwtFqZIzx82y2hhPL67ruTrz7D wLMVVMlR6pPiIT1Y403o8hEs01+D0ra3R1zBeVrk5TfLrOcca5/UAkyXYhZXkf880/Pg aefQ78BcsLaTfy1C6R0EYdpc6BArSlQcTzqyh65Xbs/uCDjtHwUdnfVa2IZET1SIOfod MzLxzbGoJSzRYtNADxaBhpaBgSRizNZ0yi8PywFxeBq9HPT3CJyFAOMo5an4Lihb8aFd jsrin4kQvhySnc338vxuVeU+kxC0Dz1CZqGgmoxxB459Yn1VARaLINl9NbU2V6tNh5vC 8qBA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MTJMHTJIoLpf6KPzanYIV1t3j5Ecn9V8frKxWZK7l7U=; b=l56cToBzHb0LsUCMnIk/rDEXkMLZPQ+MfPuY5Sizuc7/aj+DyZqe0faXhDGn2WrW9c nxZJWv2u4Y2uDITBDY4FqmILZ44y2mE2jEbdWXADn3k6/RKYQMCgPlqWI7OTz1rI36eN 5EA1YycTSY32ZtAkBzt9PxunQ+9w7MxSoZeGRbWg9Om1J7BLApo+BwuvqCCEhRl8cGqH SdYnGo1LLhC/zQAFtHx9D9FURXYq5EP+aGYTrv0LIbtz/PTJswasfndlxLcCgU3grFAw aGphtbX1Of+okNhKqICtuSVoEZ+0CXINTBitp6S0Raw/Voc+K/VGYPKnIi2ldpA+HBvj iyMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rWJqddp0; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 z2si13098211plk.278.2019.02.18.02.19.31; Mon, 18 Feb 2019 02:19:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-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=rWJqddp0; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S1729016AbfBRKTa (ORCPT + 10 others); Mon, 18 Feb 2019 05:19:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:34742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbfBRKTa (ORCPT ); Mon, 18 Feb 2019 05:19:30 -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 9AED121736; Mon, 18 Feb 2019 10:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550485169; bh=aHJR+6XedjtwEBOuZZnCv8NpnaMe/Ga4JzbV7fEh/zI=; h=From:To:Cc:Subject:Date:From; b=rWJqddp0xp4Xpf7dd3iDQqp9PymyPs74YPG2ey1diusCjs6WerMCPU+3GKrGfZQl8 qF/2xX08MEwkG+GXp8cjwVl1DpQ62Z7sumTriAsKqWyuFwlgFNDACzPWha2eCB93o/ A5CmR0Ly+ZoiDQT3FyRfrwj7GmaSPd0jcpQJznas= 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 v2 1/2] net: phy: at803x: dont inline helpers Date: Mon, 18 Feb 2019 15:48:52 +0530 Message-Id: <20190218101853.4290-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Some helpers were inlined, but makes more sense to allow compiler to do the right optiomazations instead, so remove inline for at803x_disable_rx_delay() and at803x_disable_tx_delay() Signed-off-by: Vinod Koul --- drivers/net/phy/at803x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 Reviewed-by: Niklas Cassel Tested-by: Peter Ujfalusi 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);