From patchwork Fri Jul 28 13:23:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 127656 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp451480vqg; Fri, 28 Jul 2023 06:56:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGny1vN5jKaAurNFZnlml2FlFHTG7dpKcSz3RREI6onpp2r6evSyvoRTLH0ZiV2+CwFUaMO X-Received: by 2002:a05:6a00:847:b0:67a:52a7:b278 with SMTP id q7-20020a056a00084700b0067a52a7b278mr2702247pfk.9.1690552591962; Fri, 28 Jul 2023 06:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690552591; cv=none; d=google.com; s=arc-20160816; b=Fgmk4U/EjIU7cBGpOzvgvosqIL8cCqEJkz1I014lex73osgIKovUAxN8H2TvKflhz0 dbhaiNsltRKBgnfTluFDcFB3dI/PDis/uv4jp4JWbL1pANBvPnwosRn3SxwJfRTBSbgf YLBly1b1mzyo9tOKFWfvYAGYX9r1bXps1Btrg11omepgE6TxoPQQk46+303SVOI83gxc jPKDVRq5RFRxVjlXpaaX5bvOCGqKb8//h+dkJZZeX/TJyVp09A2T2MAiXrVVtEfciZ8U 8uWEVf8s8A/MRnsu6M3+Zd5FTsqKUqHlqKeTLBn93f8u23qjybyBecGo9v77cKntpnJ6 Jm+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=qf8HMZX5jJUJpF5QWnW60UL4qePth/yLk4bzHGylqkQ=; fh=hpmuNRHLEJMF0Zq9ZWZO6AVkwGD2mqSWC6jKgImxKBA=; b=pffZLtsOREBt9VGdmUNyRQKf40wk4WDuBBSgflSer0f43qH892Ic44NJYORDQj2zcX xJqL+yOhvsHOApolwAJA0MTOzEFl+tu2o5vieSmGlZJ8vjhpKXu//nu9uzio9UkiNHAg iMT29HHjcp6mH2hTPfkKQsqLGwYB4COVVp5Dj2OGIyWv4bk2xLOByTgo0fsre0OJ92/c IF1f0NozRvOoKYgwgIUAnHh+/7g76ZvXEKTPmAkUdycXldy1MEwDp7cb5ElhtDLfqEgi dQ7SaF437GWaerqt+yWch/nVt2uIZulTnjhTjnpu5w7MSr3vISLRjcZVUiYteohz5IZ2 G2sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w125-20020a627b83000000b00686ae67b95bsi3158503pfc.225.2023.07.28.06.56.18; Fri, 28 Jul 2023 06:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236193AbjG1NXu (ORCPT + 99 others); Fri, 28 Jul 2023 09:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234091AbjG1NXt (ORCPT ); Fri, 28 Jul 2023 09:23:49 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32328DB; Fri, 28 Jul 2023 06:23:48 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RC7Zy6KYbzVjrs; Fri, 28 Jul 2023 21:22:02 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 28 Jul 2023 21:23:39 +0800 From: Yue Haibing To: , , CC: , , Subject: [PATCH -next] i2c: s3c2410: Remove unused extern declarations Date: Fri, 28 Jul 2023 21:23:18 +0800 Message-ID: <20230728132318.25072-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772672874764520921 X-GMAIL-MSGID: 1772672874764520921 commit 0d297df03890 ("ARM: s3c: simplify platform code") left behind s3c_i2c(*)_set_platdata(). commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") leave s5p_i2c_hdmiphy_set_platdata() declaration. And commit bad1e6aadd17 ("ARM: SAMSUNG: Cleanup plat-samsung/devs.c and devs.h") leave s3c_i2c(*)_cfg_gpio() alone. Signed-off-by: Yue Haibing Reviewed-by: Andi Shyti --- include/linux/platform_data/i2c-s3c2410.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/linux/platform_data/i2c-s3c2410.h b/include/linux/platform_data/i2c-s3c2410.h index 550746715139..c8c3146c34ea 100644 --- a/include/linux/platform_data/i2c-s3c2410.h +++ b/include/linux/platform_data/i2c-s3c2410.h @@ -52,23 +52,10 @@ struct s3c2410_platform_i2c { */ extern void s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *i2c); extern void s3c_i2c1_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c2_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c3_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c4_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c5_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c6_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s3c_i2c7_set_platdata(struct s3c2410_platform_i2c *i2c); -extern void s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *i2c); /* defined by architecture to configure gpio */ extern void s3c_i2c0_cfg_gpio(struct platform_device *dev); extern void s3c_i2c1_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c2_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c3_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c4_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c5_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c6_cfg_gpio(struct platform_device *dev); -extern void s3c_i2c7_cfg_gpio(struct platform_device *dev); extern struct s3c2410_platform_i2c default_i2c_data;