From patchwork Tue Dec 26 12:45:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Grinberg X-Patchwork-Id: 10133053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A5F9E60211 for ; Tue, 26 Dec 2017 12:45:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C7602E2B9 for ; Tue, 26 Dec 2017 12:45:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 803DF2E2C9; Tue, 26 Dec 2017 12:45:57 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 140982E2B9 for ; Tue, 26 Dec 2017 12:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=MTQtbHalj0b0641z5crfbVOYCf8Q2GVVBZnFbCd20So=; b=pTw T3uCnUITMz8plmKcaqTWrr4bOd/T3B/C3GXNNFRnW2FZfgpQIHCnLRjAe6cAr/tEXEAVOqfe1NyLa xdbmhoFEHUynaJ+nd+d6vcDntoWsCRKkEKV8uSB4wwYCTXi72EK7B66SDJLa7fcekQLKsSh8SGcRh F2zj1xii5Ap2GB2+KmlI16VAS5gRT3XTuu52h/ExvDGNt6oklyF54wLnd4iArtUpWS+d1ciMWFTzm oO5ZvCI4JHvbB5O/Ns5tw0mfl65K+TCwp427zbEhbQRbFOwfJiUwUCUOrwCTCN03pgAR17f95t6W0 sJ6raGCoFzGRx4fZs56MrnUjl1/0Vig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eTocE-00030g-JM; Tue, 26 Dec 2017 12:45:54 +0000 Received: from softlayer.compulab.co.il ([50.23.254.55] helo=compulab.co.il) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eTocA-0002yi-Ck for linux-arm-kernel@lists.infradead.org; Tue, 26 Dec 2017 12:45:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d3RsGvLXwEZJQGghK75pk/79YHO4WIR4n26xG2l+VgY=; b=ka5s/j837WR9hBaVh4o5nURMbv dj/mvaG/AzbsvozNKU6qFJ8qk6uuDVsYdsxQiLdVmLDZId2H/g6xhOPjBwCbsVu3MoRqWrdhjv8d7 lfONB48fdnYwpXmr1zggZ+24WS1egGIXw0vSLlMUm9eXrZRWaluq9GvNyf6SZcptUxPAz97W3XOgv d0LIwcMYnC9kJvopmhOfT9dXbm2d2BEaQPmj7I484LHgTpk4H1v5WVIJ97TvHXH9pB2FD/lNmYPcr 3quajgX6B6lfExBQe4weGG++fqw+dPYmdJvXROvSJRjaxe/lhqbt2y8JwoUmkQtI755a85eR5Ady1 0/Y97Vxg==; Received: from [37.142.126.90] (port=33699 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.87) (envelope-from ) id 1eTobz-0006RJ-Fk; Tue, 26 Dec 2017 14:45:39 +0200 Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id AA631481842; Tue, 26 Dec 2017 14:45:38 +0200 (IST) Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id olm5EdcVLDlQ; Tue, 26 Dec 2017 14:45:38 +0200 (IST) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 2C88B481840; Tue, 26 Dec 2017 14:45:38 +0200 (IST) X-Virus-Scanned: amavisd-new at zimbra-mta.compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cmt04j7c076k; Tue, 26 Dec 2017 14:45:38 +0200 (IST) Received: from compulab.co.il (grinberg-linux.compulab.local [192.168.11.13]) by zimbra-mta.compulab.co.il (Postfix) with SMTP id 0981448183F; Tue, 26 Dec 2017 14:45:38 +0200 (IST) Received: (nullmailer pid 6016 invoked by uid 1000); Tue, 26 Dec 2017 12:45:38 -0000 From: Igor Grinberg To: Robert Jarzmik Subject: [PATCH] ARM: pxa: cm-x300: remove inline directive Date: Tue, 26 Dec 2017 14:45:36 +0200 Message-Id: <20171226124536.5973-1-grinberg@compulab.co.il> X-Mailer: git-send-email 2.13.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_recent_authed_mail_ips_text_entry: grinberg@compulab.co.il|compulab.co.il X-Authenticated-Sender: softlayer.compulab.co.il: grinberg@compulab.co.il X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171226_044550_621296_2F5695EC X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Grinberg , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP cm_x300_u2d_init() function is only used through its function pointer that is passed through platform_data structure to the driver. Therefore it can never be inlined. Remove the inline directive. Signed-off-by: Igor Grinberg --- arch/arm/mach-pxa/cm-x300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 868448d2cd82..912e905a6af6 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -509,7 +509,7 @@ static int cm_x300_ulpi_phy_reset(void) return 0; } -static inline int cm_x300_u2d_init(struct device *dev) +static int cm_x300_u2d_init(struct device *dev) { int err = 0;