From patchwork Fri Jul 28 13:27:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 127673 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp471625vqg; Fri, 28 Jul 2023 07:24:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXFQozYerrT1OgloMebv66dESg+jQe4qZvy699rayZwgqMuXf5BgxCWN1SXwSv3lqhIyJY X-Received: by 2002:a17:906:64c4:b0:99b:4e70:d09b with SMTP id p4-20020a17090664c400b0099b4e70d09bmr2723306ejn.46.1690554247185; Fri, 28 Jul 2023 07:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690554247; cv=none; d=google.com; s=arc-20160816; b=kS2WoM+n76v5CeJV5cJU1xLBtl/UAtE5X0IN2gz2UHWsrDO626dcgQ2inD8XIH46XH 13cyVW+KOiCRK8J/Ot/WRefjHBEAojQMf1d+be1f+rjLEOw53ntzosbcPYGTWcYtVlXV jWNEmXhdhfniqO3Tna3FZbmErClaNBFJjOKlAsd44+af4ipGMZMcbLQg+MUv4XVAu7q2 caOIN8QyLGtcSZZ7O1eljiETKz3xgs0E7MqMMfVg1SvwNLRpL9SFVyjsJqc6pLFVSJ6v RD+uIAWhosS/DY7Lb/dxVyKMggSeONUg7XLjmm+Z3bh526Ymeln4NY0wMs0aNzwIklZU mtjQ== 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=EeE26yH3YsW+jz0zBrbndp4Ai4dtDfn9MaO1WTZZ9qQ=; fh=P+sldgrYSl1paBAg1kdxQ1+6Ge4bUfZLQUr4jpH04p8=; b=bTXwmEurtnUKx14wqhnOdBtxNEdIT4EJxTbdLNCj29o842/qpp7PCf79uPZjBi9GYM ZyrValgosf5nWEJyQ52B3P4ZbsOsQzSiSNdJsJpq4MqY/XH4rpLND9uVwJHSw/r+ZWHd gSVaC8GZYJWidsFsMBHXJNI/EykULtNl0nkmHmSnXIEnCJ1zXIXd90Sw9syqQr3dBsNh 9MF4dPtdclYI7eMsU0wobT8856scBooiDk8OTDYsrWlz2cdCWCOAUoHIpAv6wf5ltDKN k900eNSC/LVJljqWBfp8Wuls2Tt7LRox7HBAvYROVLAmtR2lulwe5ZV2FPBxl1UXSkXB XpkA== 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 rs5-20020a170907036500b009931472bdb8si2676772ejb.965.2023.07.28.07.23.36; Fri, 28 Jul 2023 07:24:07 -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 S236839AbjG1NqH (ORCPT + 99 others); Fri, 28 Jul 2023 09:46:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236104AbjG1NqF (ORCPT ); Fri, 28 Jul 2023 09:46:05 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E5651FC9 for ; Fri, 28 Jul 2023 06:46:03 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RC7h44y3vzrRh6; Fri, 28 Jul 2023 21:26:28 +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:27:24 +0800 From: Yue Haibing To: , , , CC: Subject: [PATCH -next] mfd: max77686: Remove unused extern declarations Date: Fri, 28 Jul 2023 21:27:09 +0800 Message-ID: <20230728132709.27052-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: dggems705-chm.china.huawei.com (10.3.19.182) 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: 1772674610483620016 X-GMAIL-MSGID: 1772674610483620016 max77686_irq_init() and max77686_irq_exit() are not used since commit 6f1c1e71d933 ("mfd: max77686: Convert to use regmap_irq"). And max77686_irq_resume() never be implemented since introduced in commit dae8a969d512 ("mfd: Add Maxim 77686 driver"). Signed-off-by: Yue Haibing Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi --- include/linux/mfd/max77686-private.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/mfd/max77686-private.h b/include/linux/mfd/max77686-private.h index 3acceeedbaba..ea635d12a741 100644 --- a/include/linux/mfd/max77686-private.h +++ b/include/linux/mfd/max77686-private.h @@ -441,8 +441,4 @@ enum max77686_types { TYPE_MAX77802, }; -extern int max77686_irq_init(struct max77686_dev *max77686); -extern void max77686_irq_exit(struct max77686_dev *max77686); -extern int max77686_irq_resume(struct max77686_dev *max77686); - #endif /* __LINUX_MFD_MAX77686_PRIV_H */