Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1288826rwb; Fri, 28 Jul 2023 07:26:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlHIMaSi84ib8p3m4vwYw2a1EP93khw0FbPgp0MY8BnVh2beP0w/Ee4ZXjzMak7NTdskdUoH X-Received: by 2002:a05:6512:48ca:b0:4f4:b13a:d683 with SMTP id er10-20020a05651248ca00b004f4b13ad683mr1890761lfb.69.1690554378154; Fri, 28 Jul 2023 07:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690554378; cv=none; d=google.com; s=arc-20160816; b=Q46RIBF1rpailD8m2jexRVkiT96qDa18/vyI00kh/OCUcT4O1q7vOrSxNY5aA3fAP5 FBlUmzASO83lHCI3IuO4JbqhiYayPMP7ojzzHIzFYanLjiIbFNWcXeyztiD9N8I2IWWZ zGbKCssh+vw1hz6xentUfs0QMA8u4qyyuoFBqZD9pe26MHoCb3+X2KMd166013PxIDXB syNU14oBekJmBOrtuulmjMWUbIJat7jlUlo+jrJOfkCDBpzEBfx9H1qqMRENMn285veJ LnsxtBli3Ay10jqa1eeT47+dzNRimIBj9sJ596+s6VMqWglJX+wvRmeqk9Khl6rAp3uM hPHw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020a170906831500b0099bdabdc303si1703067ejx.840.2023.07.28.07.25.53; Fri, 28 Jul 2023 07:26:18 -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 S236650AbjG1NqH (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 Content-Type: text/plain 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 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 --- 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 */ -- 2.34.1