From patchwork Thu Jul 20 14:37:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 123343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3196467vqt; Thu, 20 Jul 2023 08:24:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlE3521aiZH3lzFxgMfw44r9cf+lm2Wt2RDqHx8QHCvkMgPjWJUqFgSdONc1H7Afkyu5e0Wz X-Received: by 2002:a05:6830:1e2d:b0:6b9:6a43:1f7c with SMTP id t13-20020a0568301e2d00b006b96a431f7cmr3118173otr.26.1689866680291; Thu, 20 Jul 2023 08:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689866680; cv=none; d=google.com; s=arc-20160816; b=lanwmVk1kAwMGV/KUXV3FNSbmwa8HpDZEfhv8Ruis2ip1enxoGPge6Jls6mTFm7tBJ ia0Gs7HnRVas8nx4HrOUbX+PSacIO7IR30jzwW84BlZf5zivL3f4qjYryi7WdKOsDEGv qeUfklSdJSzVDBj6gd6CWVNBJe99eDNnu/LoANV9Zy0YG4wxZcj7iaSQdX+Mt+rke3ET hL3AFuiE3Wu+8f/XKX01XXXsu9xMWLv2DNzpeCuJBc/1h1HksntdyJ/Jv4Viaf54I/C7 nKcZ87T9YFvG8VXM1iuDRGk64UidIGvwtJq9KYrc1082Z96QBD+A2QH7tNOGK8l883Z9 zoXg== 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=c6sce3BjPpsW9D1lBq6a1qcoxRVPsoC1SqLGjnYHZW0=; fh=j3ba3OodH0krpwkib4pmiaQkoAwDY1p/xktxKAJgvgU=; b=DQerWEWlSnaQek8oLh0M0A85z4FdfJ61lgDQ/hYzQDXqC+yp5V3Em9k94LBIz/O8Y+ YqSro2mXEt1a+dgE1kKC+uORCSCrW9x4KOqRjX5Aztb9pe1yGDw+w2sHlLC34hQkGvrr rSL29CyAqhGEfLKC6PVhAXi6GDlKsDqY7Ohhma0gXrNDnrsPdzQ4icY4YZrsfn0VLZKv roCP3lYIFX2G2V8iknGKZnUie+QYQrJ+kvkUq9gNHgxWxBUsbM7NRWP2eYhZSrXmh5wQ suuiFYHLqP2ZS9rzxmkJMmnkQO/vWPA/EA/chnpVL0NDhTQOuZvzWmpef+FQeuXS/8k0 PJAQ== 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 x69-20020a638648000000b0053b8f80c63dsi1038018pgd.734.2023.07.20.08.24.27; Thu, 20 Jul 2023 08:24:40 -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 S232283AbjGTOhr (ORCPT + 99 others); Thu, 20 Jul 2023 10:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjGTOhp (ORCPT ); Thu, 20 Jul 2023 10:37:45 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50FB5C6 for ; Thu, 20 Jul 2023 07:37:44 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R6Fd26XJNzrRp9; Thu, 20 Jul 2023 22:36:54 +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; Thu, 20 Jul 2023 22:37:40 +0800 From: YueHaibing To: , CC: Subject: [PATCH -next] mfd: db8500-prcmu: Remove unused inline functions Date: Thu, 20 Jul 2023 22:37:38 +0800 Message-ID: <20230720143738.13996-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: dggems706-chm.china.huawei.com (10.3.19.183) 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: 1771953643964909178 X-GMAIL-MSGID: 1771953643964909178 Since commit b0e846248de5 ("mfd: db8500-prcmu: Remove dead code for a non-existing config") these inline helpers also no need any more. Signed-off-by: YueHaibing --- include/linux/mfd/dbx500-prcmu.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index e7a7e70fdb38..dd0fc891b228 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -556,16 +556,6 @@ static inline void prcmu_clear(unsigned int reg, u32 bits) #define PRCMU_QOS_ARM_OPP 3 #define PRCMU_QOS_DEFAULT_VALUE -1 -static inline unsigned long prcmu_qos_get_cpufreq_opp_delay(void) -{ - return 0; -} - -static inline int prcmu_qos_requirement(int prcmu_qos_class) -{ - return 0; -} - static inline int prcmu_qos_add_requirement(int prcmu_qos_class, char *name, s32 value) { @@ -582,15 +572,4 @@ static inline void prcmu_qos_remove_requirement(int prcmu_qos_class, char *name) { } -static inline int prcmu_qos_add_notifier(int prcmu_qos_class, - struct notifier_block *notifier) -{ - return 0; -} -static inline int prcmu_qos_remove_notifier(int prcmu_qos_class, - struct notifier_block *notifier) -{ - return 0; -} - #endif /* __MACH_PRCMU_H */