Message ID | 20230912081527.208499-6-herve.codina@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1011100vqx; Wed, 13 Sep 2023 04:22:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYzC33a3NR/rLbf1OH42mXJN3B0rUuuZR9OZJnXDaY441/qoI/dx54Dq/GN7Xfno6bBRp5 X-Received: by 2002:a05:6a00:c93:b0:68f:d1a7:1a3a with SMTP id a19-20020a056a000c9300b0068fd1a71a3amr2883584pfv.8.1694604153282; Wed, 13 Sep 2023 04:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694604153; cv=none; d=google.com; s=arc-20160816; b=DTcAoFoN02aaT9kNw8l7rKwvttGqg3q6mLl38OxmQoI0l8lX7fEg80o45uMhp6Hy4V 5x5WUjrxa5mE2fPGunxtA2nRh3mMbdgS9JeYKF9Qeiqz0QtNYExD1gHKMYUUXt77qBGf k+1m2irkcDfDkawUO8IPoMv7FHDYNGFOAXw1vBypBDmO94yVA46ExUXjuNXrMdG5RQUS nBmZfUz16IbZWl/7jJjc9WuorQxywHZNgz6ozqthS9UkCkUn2BzUHQPcpMsjidw63ohZ 9KsF3L+PeW2T2unTTtbMNmN7qlveAnvX8GNN8sYhfBdwBBlK9OU1JFphX8XrZL31294A mAYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cUE18U4/Xtk+Bz69IO+G24gbXSJeiWM3VkIeXZKQwc8=; fh=5rCQDomVZxLXb7yR2oN4iSS3zxUnzGJP2HoQaRzhQu0=; b=X4Z8MRC/wNX6CSJswtLyLy/f6kWeIEe48bYwJy26Cs2BFt0iussPGSXJGD3W4bAK82 gBHs0x6JsbWLJ7n+sbuh3K198SPXB02JTvZ+S2g8DuPFZvk2oz/J6PjVU4AWv949eQ9i Fohj+PLAS17AM3KeFzIn/cXM9daSrKeJhD4yasj9iidRXzw4tqcwvfTZIlqeJoCJGoHS G2Ue3JoK7uoFlo1sSNrtO7aK54+N3GxwfMsKcHyGNFb3Nv3ePvaBLMUC/xFnF43/q4Dy M7s+Uyf/Awbv7O9wSmsjN6YfYiswj3JQyAxK6Hwlw2lpbsvSeiRzg4GRXbTtEoxeX4t0 u6Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AmkY2Xax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e25-20020a656899000000b00573ffd278a0si10224137pgt.148.2023.09.13.04.22.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 04:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AmkY2Xax; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1A85B840B7FF; Tue, 12 Sep 2023 02:28:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233627AbjILJ2D (ORCPT <rfc822;pwkd43@gmail.com> + 37 others); Tue, 12 Sep 2023 05:28:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233694AbjILJ2A (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Sep 2023 05:28:00 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38A4710E4; Tue, 12 Sep 2023 02:27:55 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPA id 59A0D24003C; Tue, 12 Sep 2023 09:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1694510873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cUE18U4/Xtk+Bz69IO+G24gbXSJeiWM3VkIeXZKQwc8=; b=AmkY2XaxgcY6QOmK4Vu3ND2+M5lBx/VGcwNfkWl6KiVxTlWOsAiZrqpXDr6tqxp9GQkO6v GB9DXcADiDaj7U4rfYbxgEyshWOf1IEJO4dAvEbk6WwZ3wmzxHmzSJzLSrE1u0NftPyh/T RaP500KDZR6tztzj6dwr6ezn+4+j41zAXDU7MlcFa7NM63ty123vq/MOeK38g+8O8tdb6z EWknV7fCCcBohSs6tT+ym3EfF9t1TC7SVe5b9U+afF1St3fT1Z7ZzL13E3EwTukNm1vFHa 2UFNLhcSqlzBbvYIXmUn5iBGSbrfhhWE+mTgU2kHwVkye03XPflZeMc21FTm5A== From: Herve Codina <herve.codina@bootlin.com> To: Herve Codina <herve.codina@bootlin.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Andrew Lunn <andrew@lunn.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Qiang Zhao <qiang.zhao@nxp.com>, Li Yang <leoyang.li@nxp.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Shengjiu Wang <shengjiu.wang@gmail.com>, Xiubo Li <Xiubo.Lee@gmail.com>, Fabio Estevam <festevam@gmail.com>, Nicolin Chen <nicoleotsuka@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Randy Dunlap <rdunlap@infradead.org> Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, Simon Horman <horms@kernel.org>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v5 05/31] soc: fsl: cpm1: qmc: Remove inline function specifiers Date: Tue, 12 Sep 2023 10:14:56 +0200 Message-ID: <20230912081527.208499-6-herve.codina@bootlin.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230912081527.208499-1-herve.codina@bootlin.com> References: <20230912081527.208499-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Sep 2023 02:28:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776921244611095955 X-GMAIL-MSGID: 1776921244611095955 |
Series |
Add support for QMC HDLC, framer infrastructure and PEF2256 framer
|
|
Commit Message
Herve Codina
Sept. 12, 2023, 8:14 a.m. UTC
The inline function specifier is present on some functions but it is better to let the compiler decide inlining or not these functions. Remove inline specifiers. Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") Signed-off-by: Herve Codina <herve.codina@bootlin.com> Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> --- drivers/soc/fsl/qe/qmc.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c index 2d2a9d88ba6c..459e0bbd723d 100644 --- a/drivers/soc/fsl/qe/qmc.c +++ b/drivers/soc/fsl/qe/qmc.c @@ -218,37 +218,37 @@ struct qmc { struct qmc_chan *chans[64]; }; -static inline void qmc_write16(void __iomem *addr, u16 val) +static void qmc_write16(void __iomem *addr, u16 val) { iowrite16be(val, addr); } -static inline u16 qmc_read16(void __iomem *addr) +static u16 qmc_read16(void __iomem *addr) { return ioread16be(addr); } -static inline void qmc_setbits16(void __iomem *addr, u16 set) +static void qmc_setbits16(void __iomem *addr, u16 set) { qmc_write16(addr, qmc_read16(addr) | set); } -static inline void qmc_clrbits16(void __iomem *addr, u16 clr) +static void qmc_clrbits16(void __iomem *addr, u16 clr) { qmc_write16(addr, qmc_read16(addr) & ~clr); } -static inline void qmc_write32(void __iomem *addr, u32 val) +static void qmc_write32(void __iomem *addr, u32 val) { iowrite32be(val, addr); } -static inline u32 qmc_read32(void __iomem *addr) +static u32 qmc_read32(void __iomem *addr) { return ioread32be(addr); } -static inline void qmc_setbits32(void __iomem *addr, u32 set) +static void qmc_setbits32(void __iomem *addr, u32 set) { qmc_write32(addr, qmc_read32(addr) | set); }