Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9683297rwp; Thu, 20 Jul 2023 08:17:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlFa8t6EQAYDdFLVBL+3ZwjtIpgtPg1syvyh6y9JbpWcx6kEQSgGw4fXCK1Rt14QW5UYH1rQ X-Received: by 2002:a05:6358:6f92:b0:129:c50d:6a37 with SMTP id s18-20020a0563586f9200b00129c50d6a37mr6021841rwn.16.1689866276579; Thu, 20 Jul 2023 08:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689866276; cv=none; d=google.com; s=arc-20160816; b=cV54jJr6uHjbJVkH0jWO7gpoh/1NtWXTgMP7D8mm+al2Fl5L2fwt8kEd6nPpEVOa3i ilU+2Q09gEkhcIFdg/dpNrNR0YhtQTUWQaC2F39RiYePEGKhcWj0M+i9jiEKXHbmj/7s bTt+917Rti5VzDYOiJ9Eq9+nbuMH0Aos+/XdQJS9lHy3qwT2fquBbNxn3POoJ9NwFZR4 Ofj/zyBTZrd9CXXqtGwgzuF+VQnb2VG4QdRjYAbjoEp9x3koCmXjj7UPk7s7VgxoLi4w 1LoIyKgwTzbkXGIb0lJHYee9Emr04un2RGm4qVpO2xtqOtqzpt1jtZtURhF2uQSLhaXP PLvg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j62-20020a638041000000b0055f298b51d7si1050796pgd.162.2023.07.20.08.17.43; Thu, 20 Jul 2023 08:17:56 -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 S232278AbjGTOhq (ORCPT + 99 others); Thu, 20 Jul 2023 10:37:46 -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 Content-Type: text/plain 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 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 */ -- 2.34.1