From patchwork Mon Dec 27 06:48:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 12699578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2217BC433F5 for ; Mon, 27 Dec 2021 06:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8VKvz48YNw9K2hnvDcMqzETIJOm3nvmZlxFm+FWTtFU=; b=VlNjNjFJhfZaer 0foWVB0J1rOj1yboK7cXruV9YEkw1CX7/XHDQqJ7e3b91+6aOTCEh5xqgTlDZ3KcpZlAldafm9/rY Q6dOkSR5ru/If9IDEqRYX7m21btE47yMDWBCh382QhbNGNG1n4KMMD06/6TY5+uaYewn8m3ULv/fP pgSt/jn1b/cfERT5ycHtu2v14WBFJBAFKm8oJSVFxrvIgLs9NdbwTLfpCMvML0GzhEmIzlH4G9xqD pc3z6K7i328YsP02rJ6XUMTduW3o1uzaeQ/IPx8XOda1ib1CZn6y8AOj8pdRG/ddTiQfAb3iz1WOq HQbCaCDBO3COzJJEogfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n1joe-00GGhd-9m; Mon, 27 Dec 2021 06:49:04 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n1job-00GGg0-N0 for linux-arm-kernel@lists.infradead.org; Mon, 27 Dec 2021 06:49:02 +0000 Received: by mail-wr1-x436.google.com with SMTP id q16so30580256wrg.7 for ; Sun, 26 Dec 2021 22:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=9GEBPEvt0VT6L7i9VkLzirlLtpJd9qg2rYhuZ+v5fko=; b=PP49wWfNC2VIjP2+X5A+camYx6y1BopaDn8JtAlID9cJqsY0qSWvd2/udh9hKqRUrs 2OMAcc8icoQKZCGm08SJxYPuiLmbKOU5WJhmdThri5iCD9l3/VABOs7FbJHzfzjqP6tp 8DBw7rqixTlYCIzV+jMN3hqqLvVEuAbPxkgjEjYeyHDZqih9vmEnNxsixtjQVDRvguBl B4ZnAbF5gVt49P7pRR5iomPLGFlPQ73MoxbhPfpULGKipeHE7hCopl2N/bRfbQHnMCQ2 dP/dsnimXy9SWpnd1wFR962TQXTVakzMNx+A49hm9H/zu+hD3t3/xTnDmG1u3kE7m4sc OQ/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9GEBPEvt0VT6L7i9VkLzirlLtpJd9qg2rYhuZ+v5fko=; b=EBbesJoXLbdW3vG6QneLFkMwODH+Xzt3Jq2Ef9xGnnPqigItTT6+hNGAmdQi1gKIyi aodOKiMY48EHsK2VP6FCkpBvDG142RLMFxUCT2YEvwA0iwEfKJSeR0chgGuHSGkwyBZe 29nrw2djIiGtqO9XLyJQ2Bn8ozFxuMIoSQWeRSURlukpknwfN/JbRvhGNZp3AXmwvT34 f/St2rzx0vXjTJblAyhwTonozJVamWj5GX+uFxoesAsjEsfyl4hilSpgv/Bq3rD2Sd7Z 46knt/IAoZHQbSs61ZByiAgxO0tSncxgh1lshNZuzbI3Owx6plSmf7d+1lvil4CJOpSw F75Q== X-Gm-Message-State: AOAM53338AtdQkWCESH1Q8g9EIPL5Lz8GROAeeQI3bUyAB382oAbEf1j y1IW/54Tg8UVTynfadR7UEc= X-Google-Smtp-Source: ABdhPJz/5qkj47PfUrQ6sgv5xpWDdKZEK2ociZuvXLsmLrBYR3wE9bDznsVXxKbbiL0KRdRtFt3ZzQ== X-Received: by 2002:a5d:4c4a:: with SMTP id n10mr11967344wrt.100.1640587739524; Sun, 26 Dec 2021 22:48:59 -0800 (PST) Received: from felia.fritz.box ([2001:16b8:2694:d700:4c6a:3560:d245:55a0]) by smtp.gmail.com with ESMTPSA id z22sm14187358wmi.26.2021.12.26.22.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 22:48:59 -0800 (PST) From: Lukas Bulwahn To: Linus Walleij , Lee Jones , linux-arm-kernel@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] mfd: db8500-prcmu: remove dead code for a non-existing config Date: Mon, 27 Dec 2021 07:48:39 +0100 Message-Id: <20211227064839.21405-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211226_224901_786052_3DA6B8C7 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The config DBX500_PRCMU_QOS_POWER was never introduced in the kernel repository. So, the ifdef in ./include/linux/mfd/dbx500-prcmu.h was never effective. Remove these dead function prototypes. Signed-off-by: Lukas Bulwahn Reviewed-by: Linus Walleij --- include/linux/mfd/dbx500-prcmu.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index cbf9d7619493..2a255362b5ac 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -556,22 +556,6 @@ static inline void prcmu_clear(unsigned int reg, u32 bits) #define PRCMU_QOS_ARM_OPP 3 #define PRCMU_QOS_DEFAULT_VALUE -1 -#ifdef CONFIG_DBX500_PRCMU_QOS_POWER - -unsigned long prcmu_qos_get_cpufreq_opp_delay(void); -void prcmu_qos_set_cpufreq_opp_delay(unsigned long); -void prcmu_qos_force_opp(int, s32); -int prcmu_qos_requirement(int pm_qos_class); -int prcmu_qos_add_requirement(int pm_qos_class, char *name, s32 value); -int prcmu_qos_update_requirement(int pm_qos_class, char *name, s32 new_value); -void prcmu_qos_remove_requirement(int pm_qos_class, char *name); -int prcmu_qos_add_notifier(int prcmu_qos_class, - struct notifier_block *notifier); -int prcmu_qos_remove_notifier(int prcmu_qos_class, - struct notifier_block *notifier); - -#else - static inline unsigned long prcmu_qos_get_cpufreq_opp_delay(void) { return 0; @@ -613,6 +597,4 @@ static inline int prcmu_qos_remove_notifier(int prcmu_qos_class, return 0; } -#endif - #endif /* __MACH_PRCMU_H */