From patchwork Thu Aug 10 18:12:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13349810 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 9AD32C001E0 for ; Thu, 10 Aug 2023 18:12:41 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:MIME-Version:Subject: Date: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=WcuFSi8zeR3AGWSp2HpAKODRNCyjFPAP+/2R3c4yxgw=; b=40+k3VfbzkR9Az o7kHcFeCHVeK9HMZ22K/Bbma4CtaopSG+VDi8GsAoAe7nwVLR3sZjTbwWP9AJhgpq/TycqdmnkV2l ZpeO3sTBwksXjgdhyxqM+sWOVTscKxQ9+PU37kGazViGWSie90CWXiHzyHIpShF2NRGwW3SPFxvcC JwhiFhVQyTFmFa7rJD2o+9+1fUntMEI4cILSfICUs7JJee0fC/DkR/dGVVknJpmbT1PjUY416iuId /lVypHh8uZcMfVrhiT6NyxeQ8VDmyQSWtKmTP2m6bPTiinucX/gWua3XmQSfmNzU9BNIw9i/o/zCC cPUAKLj76JypOsebAFCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qUA8r-008OEr-38; Thu, 10 Aug 2023 18:12:13 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qUA8p-008ODq-1k for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 18:12:12 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b9cdba1228so19305241fa.2 for ; Thu, 10 Aug 2023 11:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691691128; x=1692295928; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=hbko1ie21EmrHam9zE7OmrbWipe6Zn4PD2Jb8HdIlvI=; b=ZXrkVJwXoMvaalWcrMIqQqkVyieuWdVsqozNAsI3wa4cGtWajQiwWuMikaxEImsXA8 ra7Gba3+QHfB96/Yq+nAhmELTf4d9xeCfE+Lv7BA4oy3aNSD/IJl79pmE4ulzdV98QT+ 6wfP3fLdijjTV7Ftjvf4v0fqUvADIYqZiIvm0SPRdGdRZRynuoP7OmlTma5nfHDzm47K 5ulRlMjPwtDp2mX5iviVudPwUk1KNLkL6ZIF76x5togadcVSIj5G0TjrfUPeFnhrYgdY OrRNiD/lO8vX9ZMQPD3i3cm03Ik6JPgCexNd63LuPBtv1gHWIw886kn9gs7yAbtS+P1U EFfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691691128; x=1692295928; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hbko1ie21EmrHam9zE7OmrbWipe6Zn4PD2Jb8HdIlvI=; b=XvbwYrWu8fuQI0dJAkPlPfQ6j3RI6lVmdY63gwU41dnrAVYtWKls3nGGpERArZvC3y 52MRHJtYzX2eZ0zEafH//KkCxyrOYaDfuwfrbr3yEY+18nyEbu478CHvCcKGr4ITIrwC OvAYqCnzZ3jlSNs8arBjlImDnFqYUPLonsfcOTKS/PipCVcM+yLoicUhCgb1a8+Muqv4 OJQxWF6Pszcn/QejBffLah3NW4T2x71rGe3twY4elwrhz/W132pfe2LIIS7m9EfDx9Tv DcveoLQfwI7Vnngzs0VU5j9+Qf5tL5YA75byiRPUliW8TagRtKnIVeWwOYcacSG6xyoz vvpQ== X-Gm-Message-State: AOJu0Yzutwzp7Z2prAX8a7BMjds7pP4SBXm8TDER9GN1mICntu0eTAwj 4yQKBOcNZaSAFzyJCzNjUtIhbg== X-Google-Smtp-Source: AGHT+IEwP7fzvIS0NEzTzMO1heFpeKEKZ7p3yiRnTAYgiv0QUz/QETCEH9UHAyRhmI+7NIFrAq2X8Q== X-Received: by 2002:a05:651c:238:b0:2b9:5eae:814f with SMTP id z24-20020a05651c023800b002b95eae814fmr2404041ljn.50.1691691128330; Thu, 10 Aug 2023 11:12:08 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id n19-20020a2e7213000000b002b9f239df62sm457621ljc.74.2023.08.10.11.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 11:12:07 -0700 (PDT) From: Konrad Dybcio Date: Thu, 10 Aug 2023 20:12:03 +0200 Subject: [PATCH] cpufreq: mediatek-hw: Remove unused define MIME-Version: 1.0 Message-Id: <20230810-topic-mtk_fixup-v1-1-88022eaea0ac@linaro.org> X-B4-Tracking: v=1; b=H4sIAHIo1WQC/x2NUQqEMAwFryL5NtAqhV2vIiJtjWtYraVVEcS7G /yc4Q3vgkyJKUNTXJDo4MxrENBlAX6y4UfIgzBUqqrVRyvc1sgel+3fj3zuEUkPzn+NMbUZQSp nM6FLNvhJurDPs8iYSNbvTdvd9wPmgW6fdgAAAA== To: "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger , AngeloGioacchino Del Regno Cc: Marijn Suijten , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691691127; l=878; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ifZhDFap5bks4IWvBGc5lYMz3WsqWbWti71CuknCvOE=; b=L/I2QS1YREUvkMZGYEnL9kfATn0rRfKSXj0r+utNJGyDY2HdOOKua0fKaNfRDyEP96V1DtNrQ rwSt/HYJlYTAmNA3YTbUjlTGse9mcnLmkWpthz7Y03g/RioQSXLEWVK X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230810_111211_619048_F12E8828 X-CRM114-Status: GOOD ( 10.29 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DYNAMIC_POWER does not seem to be used anywhere in the tree, remove it. Signed-off-by: Konrad Dybcio --- drivers/cpufreq/mediatek-cpufreq.c | 2 -- 1 file changed, 2 deletions(-) --- base-commit: 21ef7b1e17d039053edaeaf41142423810572741 change-id: 20230810-topic-mtk_fixup-e1dbc955535f Best regards, diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c index fef68cb2b38f..a0a61919bc4c 100644 --- a/drivers/cpufreq/mediatek-cpufreq.c +++ b/drivers/cpufreq/mediatek-cpufreq.c @@ -313,8 +313,6 @@ static int mtk_cpufreq_set_target(struct cpufreq_policy *policy, return ret; } -#define DYNAMIC_POWER "dynamic-power-coefficient" - static int mtk_cpufreq_opp_notifier(struct notifier_block *nb, unsigned long event, void *data) {