From mboxrd@z Thu Jan 1 00:00:00 1970 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 A63BECDB482 for ; Thu, 12 Oct 2023 15:36:17 +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:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=djkNiSp7J6HAOs+9Ht/rph+fsryj7UkK7n6zo1tMrnU=; b=QM0hP+lv0DK/VC YUKODEwSyjVOglM5ausPljSfNKYlIlFIi0yJ9F7xAY6hkPyUOqS/pZK7eKU0AHh0FfLY0QfOv5lCD nkpR1nG+CIEIEr+cOGT+vHRB9gmt5vstdpw/UDEu6HDzzkVxdm04/76O57Or/3w7mByB+6aSMt/7P PXqCK6tn5TjiqHYxvLHC2OwOxHQUSVMWFu4mm85wY7IOoPbHMqfVwRk4WIMar4OXcmkssde4o34/l 5uyjlIRepZ1o50N9OCJ3Zb8vsqiXWpbLBDeA5rSzZU87nbzHD/bMSnC3jKkd18UUfkX4/afjaUdMl 1KivrgjyRQEv1CZGtElA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqxj3-001J2l-31; Thu, 12 Oct 2023 15:35:49 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqxj0-001J1n-2v for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 15:35:48 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50567477b29so1539928e87.3 for ; Thu, 12 Oct 2023 08:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697124944; x=1697729744; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zvD1jnafegL1HSx05hSXRJcdFWj9TTVTdBC34ZqJQ3k=; b=ybFSEv4InAGpst7U6QljoKfMzH3A4he4ABI1eeypZoOyI+HW8sjh1GuwHLnLVFHlvC 3ItOdz++MYUnnIbPuTioTMNn/BoibkpfXoh/XCEBRlIxk12LJWnMFgYlnSRbm6oDdT1i WJ45/ECvRc6cCpAxH6gVMIcKVPl8fjIvZiGzm6GlcXiYtwsUbGeAeexq2gVE2UpW82pV MZCOn5Sk5I5ChMpZFt66xbD+NLzy7+OwTye9JDu/ModbF8EDkgQavU/Hr6WJs6kPLILl FlLajyrKXs2Fosdd8z+Ln8C8s2SFFM5/ZKlYbdQuAWoVCgI13lu/ovzfWDtzQyHn21i2 Bc+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697124944; x=1697729744; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zvD1jnafegL1HSx05hSXRJcdFWj9TTVTdBC34ZqJQ3k=; b=JECx/Ia4IyRyP0/oWKhvrKWZkM8HkUr0soEQ2ULSW6HWLEe0piAar58q+wH9cZB8i+ f60hxCWnAbvtcoCqW8Hr4fD8t9GqZ8+rPvpUV6FuP8fOuXHj7nrWASn/8/wSh6TsNgzX YH9s3e9USJRit7uvopJu/sKCmWbsGE38ARonX8D3AakysGEAvsuQdA8gCjw3L0xJ1dhi AB+LynByA6QYEdv1y1HL1XLs2VJP0O9KTt2Wu/AHIOUyuGk4AsUjPVebify0c8Apm6t3 yZK3/bBOKGDLdXigg9QLdLZ5AdwAN6IQZFSjsXMI8cKgw4hWinobWH6CN9bkNJd60BDm YlGg== X-Gm-Message-State: AOJu0YwOl0fYPzw+nKxApqhvRYaKci3QcJmPnpjaceNAyxJlVhziBD7k bn+DNyWgwIUU5CYIiZZtfmzRHA== X-Google-Smtp-Source: AGHT+IG2J6ZaggkxrHVZijDYQcSetvij/yh8cAaq+gGH4ACdgxHWoPLrad2B09mo2iBnD1kTtZhPIA== X-Received: by 2002:ac2:5e21:0:b0:502:ff3b:766f with SMTP id o1-20020ac25e21000000b00502ff3b766fmr17386917lfg.6.1697124943864; Thu, 12 Oct 2023 08:35:43 -0700 (PDT) Received: from uffe-tuxpro14.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id w32-20020a0565120b2000b005068d27e9a7sm2618008lfu.172.2023.10.12.08.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:35:43 -0700 (PDT) From: Ulf Hansson To: Ulf Hansson , linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 1/5] soc/tegra: pmc: Drop the ->opp_to_performance_state() callback Date: Thu, 12 Oct 2023 17:35:36 +0200 Message-Id: <20231012153536.101403-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231012152108.101270-1-ulf.hansson@linaro.org> References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_083546_949937_1A2FAC80 X-CRM114-Status: GOOD ( 10.23 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level dance"), there is no longer any need for genpd providers to assign the ->opp_to_performance_state(), hence let's drop it. Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org Signed-off-by: Ulf Hansson --- drivers/soc/tegra/pmc.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 162f52456f65..f432aa022ace 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -1393,13 +1393,6 @@ tegra_pmc_core_pd_set_performance_state(struct generic_pm_domain *genpd, return 0; } -static unsigned int -tegra_pmc_core_pd_opp_to_performance_state(struct generic_pm_domain *genpd, - struct dev_pm_opp *opp) -{ - return dev_pm_opp_get_level(opp); -} - static int tegra_pmc_core_pd_add(struct tegra_pmc *pmc, struct device_node *np) { struct generic_pm_domain *genpd; @@ -1412,7 +1405,6 @@ static int tegra_pmc_core_pd_add(struct tegra_pmc *pmc, struct device_node *np) genpd->name = "core"; genpd->set_performance_state = tegra_pmc_core_pd_set_performance_state; - genpd->opp_to_performance_state = tegra_pmc_core_pd_opp_to_performance_state; err = devm_pm_opp_set_regulators(pmc->dev, rname); if (err) -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel