From patchwork Tue Aug 13 07:16:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaosheng Cui X-Patchwork-Id: 13761429 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CB656C52D7B for ; Tue, 13 Aug 2024 07:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9KDA2tGvewedDudwNWmchzw4UpZFX6eVRUPjs9WbKOc=; b=kFrzlcV7M7728vU60GS1ldTRLW ald74y04GmpA+P8WtSPQNHZtr4kjzvZ+yLNgWIvzcwHXUqRmiQxViAty1/1ncvfb2mehj6WelOcUL D6Qq6QdM3ZxY8ogKMvM517ZeyVQ64/J9skYksfqT/rbOV/BYn1mtvwIDGfLTD0Drm3adhqGYnKJ9H Tlt1j0Gt3Q8TOnyQPMD/urGhNIa4fErTGgC3LICBGxZNxgs8bEQcZAQlSzL+a8p2mthHemYeAWnAW h56tUI0doVnVLWErkX88VdU4pLJJ25T9Z0vV1dbhVAAA3pU/i/3mMvjb+SSWpnMqudbvG/BC1zh9i tX/yIdWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdlnp-00000002gCF-3RGC; Tue, 13 Aug 2024 07:18:45 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdlm0-00000002fdF-2cvs for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 07:16:54 +0000 Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4WjjKZ5nlkz1HFnf; Tue, 13 Aug 2024 15:13:38 +0800 (CST) Received: from kwepemd200011.china.huawei.com (unknown [7.221.188.251]) by mail.maildlp.com (Postfix) with ESMTPS id E0E991402CF; Tue, 13 Aug 2024 15:16:41 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemd200011.china.huawei.com (7.221.188.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Tue, 13 Aug 2024 15:16:41 +0800 From: Gaosheng Cui To: , , CC: Subject: [PATCH -next 1/2] ARM: davinci: remove unused davinci_cfg_reg_list() declaration Date: Tue, 13 Aug 2024 15:16:39 +0800 Message-ID: <20240813071640.1047137-2-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240813071640.1047137-1-cuigaosheng1@huawei.com> References: <20240813071640.1047137-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemd200011.china.huawei.com (7.221.188.251) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_001652_938706_8BAA84E6 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The davinci_cfg_reg_list() has been removed since commit dec85a95167a ("ARM: davinci: clean up platform support"), so remove it. Signed-off-by: Gaosheng Cui --- arch/arm/mach-davinci/mux.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-davinci/mux.h b/arch/arm/mach-davinci/mux.h index 38f0e427291e..05fd3902df65 100644 --- a/arch/arm/mach-davinci/mux.h +++ b/arch/arm/mach-davinci/mux.h @@ -654,14 +654,9 @@ enum davinci_da850_index { #ifdef CONFIG_DAVINCI_MUX /* setup pin muxing */ extern int davinci_cfg_reg(unsigned long reg_cfg); -extern int davinci_cfg_reg_list(const short pins[]); #else /* boot loader does it all (no warnings from CONFIG_DAVINCI_MUX_WARNINGS) */ static inline int davinci_cfg_reg(unsigned long reg_cfg) { return 0; } -static inline int davinci_cfg_reg_list(const short pins[]) -{ - return 0; -} #endif From patchwork Tue Aug 13 07:16:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaosheng Cui X-Patchwork-Id: 13761427 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39B29C52D7C for ; Tue, 13 Aug 2024 07:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=llc2HOsp6lca6oyMmuH+wUYzJ0hlFQDqjXcoFdhY5Fo=; b=PQhHeQ/XzDV6J+gjEIFup7QWLR CiGEXQ9HCFL33GDI9YgqlrfZdGOpPh5rzDFoQR9bqq7nWILk8kHEd0PAy+ieygCDPKswBmFya72YW XatWtNivn1vrVN3D/lZF9tF1t8iSn63PMDcEat/MuRgwiCekXvUSjAWsF6nH9DijnUwAfkymt4lBj VIOy1UPbbiOw1mVIGaiw7sF77jMvaOm+t9jR64ATavSrkG7ZaMPHG2jx+ZRZJDyHlgzX8OYbrBssu Yj4N5SFXQaCn5ajTr8qlTeA0SW55LcBIL/BP+YPsgyiEF9NDSLqaQxPdNo/AHRsu6PYB/df1lxD5d NpCJsFqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdlmg-00000002fn2-1sKN; Tue, 13 Aug 2024 07:17:34 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdllz-00000002fdC-3KAo for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 07:16:53 +0000 Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4WjjHW6QC6z1j6QB; Tue, 13 Aug 2024 15:11:51 +0800 (CST) Received: from kwepemd200011.china.huawei.com (unknown [7.221.188.251]) by mail.maildlp.com (Postfix) with ESMTPS id 3CCCC1402CF; Tue, 13 Aug 2024 15:16:42 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemd200011.china.huawei.com (7.221.188.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Tue, 13 Aug 2024 15:16:41 +0800 From: Gaosheng Cui To: , , CC: Subject: [PATCH -next 2/2] ARM: davinci: remove unused davinci_init_ide() declaration Date: Tue, 13 Aug 2024 15:16:40 +0800 Message-ID: <20240813071640.1047137-3-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240813071640.1047137-1-cuigaosheng1@huawei.com> References: <20240813071640.1047137-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemd200011.china.huawei.com (7.221.188.251) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_001652_105162_03F1F294 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The davinci_init_ide() has been removed since commit 2af4fcc0d357 ("ARM: davinci: remove unused board support"), so remove it. Signed-off-by: Gaosheng Cui --- arch/arm/mach-davinci/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-davinci/common.h b/arch/arm/mach-davinci/common.h index 8aa6d4fc3f6f..81a2b06b46e9 100644 --- a/arch/arm/mach-davinci/common.h +++ b/arch/arm/mach-davinci/common.h @@ -52,7 +52,6 @@ struct davinci_soc_info { extern struct davinci_soc_info davinci_soc_info; extern void davinci_common_init(const struct davinci_soc_info *soc_info); -extern void davinci_init_ide(void); void davinci_init_late(void); #ifdef CONFIG_SUSPEND